diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bind8/Makefile | 4 | ||||
-rw-r--r-- | dns/bind8/files/patch-aa | 2 | ||||
-rw-r--r-- | dns/bind8/files/patch-port_freebsd_include_port_before.h | 25 |
3 files changed, 28 insertions, 3 deletions
diff --git a/dns/bind8/Makefile b/dns/bind8/Makefile index 5fa4246a9ad7..6ab10759a6f6 100644 --- a/dns/bind8/Makefile +++ b/dns/bind8/Makefile @@ -33,8 +33,8 @@ MAN7= hostname.7 mailaddr.7 MAN8= named-bootconf.8 named-xfer.8 named.8 ndc.8 nslookup.8 \ nsupdate.8 -PATCH_ARGS= -d ${WRKDIR} -PATCH_DIST_ARGS= -d ${WRKDIR} +PATCH_ARGS= -s -d ${WRKDIR} +PATCH_DIST_ARGS= -s -d ${WRKDIR} post-install: .if !defined(NOPORTDOCS) diff --git a/dns/bind8/files/patch-aa b/dns/bind8/files/patch-aa index d4af4cb15358..7ed25b139ea2 100644 --- a/dns/bind8/files/patch-aa +++ b/dns/bind8/files/patch-aa @@ -13,7 +13,7 @@ +'DESTBIN=${PREFIX}/bin' +'DESTSBIN=${PREFIX}/sbin' +'DESTEXEC=${PREFIX}/libexec' -+'DESTMAN=${PREFIX}/man' ++'DESTMAN=${MANPREFIX}/man' +'DESTHELP=${PREFIX}/share/misc' +'DESTETC=${PREFIX}/etc' 'DESTRUN=/var/run' diff --git a/dns/bind8/files/patch-port_freebsd_include_port_before.h b/dns/bind8/files/patch-port_freebsd_include_port_before.h new file mode 100644 index 000000000000..59b9eac2a0bc --- /dev/null +++ b/dns/bind8/files/patch-port_freebsd_include_port_before.h @@ -0,0 +1,25 @@ +--- src/port/freebsd/include/port_before.h.orig Wed Oct 31 23:29:21 2001 ++++ src/port/freebsd/include/port_before.h Tue Feb 26 21:50:52 2002 +@@ -15,6 +15,7 @@ + #define SETPWENT_VOID + #endif + ++#include <sys/param.h> + #include <sys/types.h> + + #define GROUP_R_RETURN struct group * +@@ -26,8 +27,14 @@ + #define GROUP_R_ENT_ARGS void + #define GROUP_R_OK gptr + #define GROUP_R_BAD NULL ++ ++#if defined(__FreeBSD_version) && __FreeBSD_version >= 500030 ++#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \ ++ int *ngroups ++#else + #define GETGROUPLIST_ARGS const char *name, int basegid, int *groups, \ + int *ngroups ++#endif + + #define HOST_R_RETURN struct hostent * + #define HOST_R_SET_RETURN void |