Subject: pkg/17784: devel/newmkdep Makefile fix for Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <julien.letessier@sun.com>
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
>Closed-Date:
>Last-Modified:
>Originator: Julien T. Letessier
>Release: Zoularis/Solaris8
>Organization:
Sun Labs Europe
>Environment:
SunOS mikdemia 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise
>Description:
newmkdep is somewhat picky about the order of includes, at least under Zoularis. here's a quick fix.
>How-To-Repeat:
Build newmkdep under Zoularis/Solaris8
>Fix:
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 @@
NO_CONFIGURE= yes
WRKSRC= ${WRKDIR}/newmkdep
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CFLAGS= -I/usr/include -I/usr/pkg/include -I/usr/pkg/bsd/include
+LDFLAGS= -L/usr/pkg/bsd/lib -lbsdcompat
+.endif
+
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: