pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40039 (sysutils/hal compilation errors (NetBSD 4.0))



Does the following patch work for you?

--- Makefile 27 Nov 2008 22:19:10 -0000 1.14
+++ Makefile 29 Nov 2008 14:05:36 -0000
@@ -38,15 +38,17 @@

.include "../../mk/bsd.prefs.mk"

+PLIST_SRC= PLIST
+
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --with-eject=/usr/sbin/cdcontrol
CONFIGURE_ARGS+= --with-backend=freebsd
-PLIST_SRC= PLIST.FreeBSD PLIST
+PLIST_SRC+= PLIST.FreeBSD
.endif

.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*)
CONFIGURE_ARGS+= --with-backend=netbsd
-PLIST_SRC= PLIST.NetBSD PLIST
+PLIST_SRC+= PLIST.NetBSD
.elif ${OPSYS} == "NetBSD"
# Pull in the dummy backend for older NetBSD
CONFIGURE_ARGS+= --with-backend=dummy


Home | Main Index | Thread Index | Old Index