Subject: pkg/17784: devel/newmkdep Makefile fix for Solaris
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/31/2002 09:10:29
>Number:         17784
>Category:       pkg
>Synopsis:       devel/newmkdep Makefile fix for Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 31 09:11:00 PDT 2002
>Originator:     Julien T. Letessier
>Release:        Zoularis/Solaris8
Sun Labs Europe
SunOS mikdemia 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise
newmkdep is somewhat picky about the order of includes, at least under Zoularis. here's a quick fix.
Build newmkdep under Zoularis/Solaris8
Index: devel/newmkdep/Makefile
RCS file: /cvsroot/pkgsrc/devel/newmkdep/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- devel/newmkdep/Makefile	2001/02/16 14:38:44	1.5
+++ devel/newmkdep/Makefile	2002/07/31 16:09:02
@@ -10,4 +10,11 @@
 WRKSRC=		${WRKDIR}/newmkdep
+.include "../../mk/"
+.if ${OPSYS} == "SunOS"
+CFLAGS=	-I/usr/include -I/usr/pkg/include -I/usr/pkg/bsd/include
+LDFLAGS=	-L/usr/pkg/bsd/lib -lbsdcompat
 .include "../../mk/"