summaryrefslogtreecommitdiff
path: root/archivers/xbin/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-03 11:23:42 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-03 11:23:42 +0000
commitc74e8d9b62c94e4e9a40456405230c3494ac16a0 (patch)
treecc8258e6dc809243bcc77dd6d71ac2891a420c6d /archivers/xbin/Makefile
parent0299316b88d7b37f6edb9f83f135707c306d97d3 (diff)
downloadpkgsrc-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/Makefile4
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