summaryrefslogtreecommitdiff
path: root/devel/newmkdep
diff options
context:
space:
mode:
authorwiz <wiz>2002-08-01 13:06:58 +0000
committerwiz <wiz>2002-08-01 13:06:58 +0000
commitf1253462b5d6f25e4093bf9b06a252a065518f7a (patch)
tree15a12a51e03808f968a475208984fa710b7f26ed /devel/newmkdep
parentd2d777015240c12f63db9eb52310696b23ee53f2 (diff)
downloadpkgsrc-f1253462b5d6f25e4093bf9b06a252a065518f7a.tar.gz
Fix build on Solaris. pkg/17784 by Julien T. Letessier.
Diffstat (limited to 'devel/newmkdep')
-rw-r--r--devel/newmkdep/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/newmkdep/Makefile b/devel/newmkdep/Makefile
index 08899398910..74d3956b410 100644
--- a/devel/newmkdep/Makefile
+++ b/devel/newmkdep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/02/16 14:38:44 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2002/08/01 13:06:58 wiz Exp $
DISTNAME= newmkdep-1.0
CATEGORIES= devel
@@ -10,4 +10,11 @@ COMMENT= faster replacement for *BSD's "mkdep"
NO_CONFIGURE= yes
WRKSRC= ${WRKDIR}/newmkdep
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CFLAGS+= -I/usr/include -I${ZOULARISBASE}/include
+LDFLAGS+= -L${ZOULARISBASE}/lib -lbsdcompat
+.endif
+
.include "../../mk/bsd.pkg.mk"