diff options
Diffstat (limited to 'kerberos5')
-rw-r--r-- | kerberos5/include/config.h | 8 | ||||
-rw-r--r-- | kerberos5/lib/libasn1/Makefile | 4 | ||||
-rw-r--r-- | kerberos5/lib/libhdb/Makefile | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/kerberos5/include/config.h b/kerberos5/include/config.h index a76a7de..6812a53 100644 --- a/kerberos5/include/config.h +++ b/kerberos5/include/config.h @@ -3,6 +3,8 @@ /* $FreeBSD$ */ +#include <osreldate.h> + #ifndef RCSID #define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } #endif @@ -284,7 +286,10 @@ #define HAVE_GETOPT 1 /* Define if you have the `getprogname' function. */ +#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \ + __FreeBSD_version >= 500019 #define HAVE_GETPROGNAME 1 +#endif /* Define if you have the `getpwnam_r' function. */ /* #undef HAVE_GETPWNAM_R */ @@ -582,7 +587,10 @@ #define HAVE_SETPROCTITLE 1 /* Define if you have the `setprogname' function. */ +#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \ + __FreeBSD_version >= 500019 #define HAVE_SETPROGNAME 1 +#endif /* Define if you have the `setregid' function. */ #define HAVE_SETREGID 1 diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile index 4806ca5..f38c2bf 100644 --- a/kerberos5/lib/libasn1/Makefile +++ b/kerberos5/lib/libasn1/Makefile @@ -106,6 +106,10 @@ asn1_compile: \ strupr.c ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET} +.if defined(BOOTSTRAPPING) +asn1_compile: getprogname.c setprogname.c +.endif + parse.o: parse.c roken.h .ORDER: parse.c parse.h diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile index 8009de0..5a433f1 100644 --- a/kerberos5/lib/libhdb/Makefile +++ b/kerberos5/lib/libhdb/Makefile @@ -61,6 +61,10 @@ asn1_compile: parse.o lex.o main.c hash.c symbol.c emalloc.c gen.c \ get_window_size.c strupr.c ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET} +.if defined(BOOTSTRAPPING) +asn1_compile: getprogname.c setprogname.c +.endif + parse.o: parse.c .ORDER: parse.c parse.h |