summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-12-19 23:13:24 +0000
committerjmcneill <jmcneill>2008-12-19 23:13:24 +0000
commitda2eaf1d7a045042cee1c25286d57c865cc26e3c (patch)
tree9f2b42dccf5c2958dd1630b2b34a56a210757890 /sysutils
parent23b5c103f9b9f3379060352a3a6a8352cdc2c091 (diff)
downloadpkgsrc-da2eaf1d7a045042cee1c25286d57c865cc26e3c.tar.gz
PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
HAL uses the dummy backend on OSX, so no need to pull in libvolume_id.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hal/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 73f9d320d8a..06954ad660d 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/12/16 10:09:32 hasso Exp $
+# $NetBSD: Makefile,v 1.23 2008/12/19 23:13:24 jmcneill Exp $
#
DISTNAME= hal-0.5.11
@@ -35,12 +35,14 @@ CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+.include "../../devel/libvolume_id/buildlink3.mk"
CONFIGURE_ARGS+= --with-eject=/usr/sbin/cdcontrol
CONFIGURE_ARGS+= --with-backend=freebsd
PLIST_SRC= PLIST.FreeBSD PLIST
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*)
+.include "../../devel/libvolume_id/buildlink3.mk"
CONFIGURE_ARGS+= --with-backend=netbsd
HAL_GROUP= operator
.elif ${OPSYS} == "NetBSD"
@@ -51,6 +53,7 @@ PLIST_SRC= PLIST
.if ${OPSYS} == "Linux"
.include "../../devel/libusb/buildlink3.mk"
+.include "../../devel/libvolume_id/buildlink3.mk"
.include "../../sysutils/pciutils/buildlink3.mk"
CONFIGURE_ARGS+= --with-backend=linux
.endif
@@ -87,7 +90,6 @@ pre-configure:
.include "../../devel/GConf/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/libvolume_id/buildlink3.mk"
.include "../../misc/pciids/buildlink3.mk"
.include "../../misc/usbids/buildlink3.mk"
.include "../../security/policykit/buildlink3.mk"