summaryrefslogtreecommitdiff
path: root/archivers/xbin
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-16 16:57:12 +0000
committertv <tv@pkgsrc.org>2005-01-16 16:57:12 +0000
commiteae115753766b4c6b56b9e13ce9ae96cc8b48daf (patch)
treef875061a1d1d0df3ca2d3bf16e03b2aefa2d46c2 /archivers/xbin
parent416028dc9d592573ed166206c0ae0a994dfa3722 (diff)
downloadpkgsrc-eae115753766b4c6b56b9e13ce9ae96cc8b48daf.tar.gz
Make build on Interix.
Diffstat (limited to 'archivers/xbin')
-rw-r--r--archivers/xbin/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/xbin/Makefile b/archivers/xbin/Makefile
index ee32234f361..b3d135871a5 100644
--- a/archivers/xbin/Makefile
+++ b/archivers/xbin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/07/28 02:47:35 minskim Exp $
+# $NetBSD: Makefile,v 1.18 2005/01/16 16:57:55 tv Exp $
#
DISTNAME= ${PRGNAME}unix
@@ -23,10 +23,12 @@ PRGNAME= xbin
EXTRACT_ONLY= # empty
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} != "Linux"
-CFLAGS+= -DBSD
-LDFLAGS+= -lcompat
+
+.if !empty(OPSYS:M*BSD)
+CFLAGS+= -DBSD
+LDFLAGS+= -lcompat
.endif
+CFLAGS.Interix+= -DBSD
INSTALLATION_DIRS= bin man/cat1