summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2002-08-01 13:06:58 +0000
committerwiz <wiz>2002-08-01 13:06:58 +0000
commitf7ddc7d0921f645329488568b3b303433779857f (patch)
tree15a12a51e03808f968a475208984fa710b7f26ed
parent77fc39be28662615b267079a2065b0d0e81da3f1 (diff)
downloadpkgsrc-f7ddc7d0921f645329488568b3b303433779857f.tar.gz
Fix build on Solaris. pkg/17784 by Julien T. Letessier.
-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"