diff options
author | dougb <dougb@FreeBSD.org> | 2002-07-01 01:07:56 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-07-01 01:07:56 +0000 |
commit | f4bd5053ab2eb505b16099244427d9e93442fe90 (patch) | |
tree | 2b447904bb3b9c0f6670bba10470d09a443c9a2e /contrib/bind/port/freebsd | |
parent | 52cf506b39ec774bba7e719390541e881296c3c4 (diff) | |
download | FreeBSD-src-f4bd5053ab2eb505b16099244427d9e93442fe90.zip FreeBSD-src-f4bd5053ab2eb505b16099244427d9e93442fe90.tar.gz |
Import of ISC BIND version 8.3.3
Diffstat (limited to 'contrib/bind/port/freebsd')
-rw-r--r-- | contrib/bind/port/freebsd/Makefile.set | 5 | ||||
-rw-r--r-- | contrib/bind/port/freebsd/include/port_before.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/contrib/bind/port/freebsd/Makefile.set b/contrib/bind/port/freebsd/Makefile.set index acf7a56..0cf3c39 100644 --- a/contrib/bind/port/freebsd/Makefile.set +++ b/contrib/bind/port/freebsd/Makefile.set @@ -1,5 +1,5 @@ 'CC=cc' -'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -DMEMCLUSTER_RECORD=1' +'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat' 'DESTBIN=/usr/bin' 'DESTSBIN=/usr/sbin' 'DESTEXEC=/usr/libexec' @@ -9,7 +9,8 @@ 'DESTRUN=/var/run' 'LEX=lex -I' 'YACC=yacc -d' -'SYSLIBS=-ll -lutil' +'SYSLIBS=-lutil' +'LIBL=-ll' 'INSTALL=install' 'MANDIR=cat' 'MANROFF=(tbl|nroff -man)' diff --git a/contrib/bind/port/freebsd/include/port_before.h b/contrib/bind/port/freebsd/include/port_before.h index fe20b2a..5da974b 100644 --- a/contrib/bind/port/freebsd/include/port_before.h +++ b/contrib/bind/port/freebsd/include/port_before.h @@ -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,13 @@ #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 |