diff options
author | joerg <joerg@pkgsrc.org> | 2005-10-03 11:23:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-10-03 11:23:42 +0000 |
commit | c74e8d9b62c94e4e9a40456405230c3494ac16a0 (patch) | |
tree | cc8258e6dc809243bcc77dd6d71ac2891a420c6d /archivers/xbin/Makefile | |
parent | 0299316b88d7b37f6edb9f83f135707c306d97d3 (diff) | |
download | pkgsrc-c74e8d9b62c94e4e9a40456405230c3494ac16a0.tar.gz |
Define BSD and link with -lcompat on DragonFly, too. Use NAME_MAX, when
available and fallback to filesystem constants otherwise.
Diffstat (limited to 'archivers/xbin/Makefile')
-rw-r--r-- | archivers/xbin/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/xbin/Makefile b/archivers/xbin/Makefile index 13758051733..2ccb0db3846 100644 --- a/archivers/xbin/Makefile +++ b/archivers/xbin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2005/06/06 14:03:53 yyamano Exp $ +# $NetBSD: Makefile,v 1.21 2005/10/03 11:23:42 joerg Exp $ # DISTNAME= ${PRGNAME}unix @@ -23,7 +23,7 @@ EXTRACT_ONLY= # empty .include "../../mk/bsd.prefs.mk" -.if !empty(OPSYS:M*BSD) +.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" CFLAGS+= -DBSD LDFLAGS+= -lcompat .endif |