Skip to content

Commit

Permalink
libdnsres: non-functional: fix portfile text layout
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jun 3, 2024
1 parent d7f1a51 commit 11a1c24
Showing 1 changed file with 32 additions and 27 deletions.
59 changes: 32 additions & 27 deletions net/libdnsres/Portfile
Original file line number Diff line number Diff line change
@@ -1,43 +1,48 @@
PortSystem 1.0
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in net/libdnsres/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port lint libdnsres: Warning: no license set

Check warning on line 1 in net/libdnsres/Portfile

View workflow job for this annotation

GitHub Actions / macos-11

port lint libdnsres: Warning: no license set

Check warning on line 1 in net/libdnsres/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint libdnsres: Warning: no license set

name libdnsres
version 0.1a
revision 3
categories net
maintainers nomaintainer
description A non-blocking DNS resolver library
long_description A non-blocking thread-safe API for resolving DNS names
PortSystem 1.0

homepage https://www.monkey.org/~provos/libdnsres/
master_sites https://www.monkey.org/~provos/
platforms darwin
checksums md5 069cc39d7ddf85c9be9ada679d5363c2
name libdnsres
version 0.1a
revision 3
categories net
maintainers nomaintainer
description A non-blocking DNS resolver library
long_description A non-blocking thread-safe API for resolving DNS names.

homepage https://www.monkey.org/~provos/libdnsres/
master_sites https://www.monkey.org/~provos/
checksums rmd160 05a92882d1fc0394792e9f28be4584650b46e323 \
sha256 c0b94f27cb537eed42bc32ca9771f0955f717c66d34d1361e0a75600c6589307 \
size 360583

supported_archs i386 ppc ppc64 x86_64

patchfiles patch-res_comp.c \
patch-res_debug.c \
patch-res_mkquery.c \
patch-res_init.c \
patch-res_query.c \
patch-res_send.c \
patch-gethostnamadr.c \
patch-getaddrinfo.c \
patch-test-simple_test.c
patchfiles patch-res_comp.c \
patch-res_debug.c \
patch-res_mkquery.c \
patch-res_init.c \
patch-res_query.c \
patch-res_send.c \
patch-gethostnamadr.c \
patch-getaddrinfo.c \
patch-test-simple_test.c

depends_lib port:libevent
depends_lib port:libevent

platform darwin powerpc {
configure.args-append --build=powerpc-apple-darwin
configure.args-append \
--build=powerpc-apple-darwin
}

platform darwin i386 {
configure.args-append --build=intel-unknown-darwin
configure.args-append \
--build=intel-unknown-darwin
}


configure.args CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" \
--disable-shared
configure.args CPPFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib" \
--disable-shared

# Otherwise build may try to link before library gets generated:
# ld: library not found for -ldnsres
Expand Down

0 comments on commit 11a1c24

Please sign in to comment.