summaryrefslogtreecommitdiff
path: root/sysutils/hal/Makefile
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2008-11-23 21:50:51 +0000
committerhasso <hasso@pkgsrc.org>2008-11-23 21:50:51 +0000
commit20cca2687e4a87a854ddcb875fcbf9173a46512f (patch)
tree1eb5bac3ac9400980d2349e21e2911212a82a54e /sysutils/hal/Makefile
parent7c7f8512f88557b287d995324f696b603dcb0415 (diff)
downloadpkgsrc-20cca2687e4a87a854ddcb875fcbf9173a46512f.tar.gz
* Make it build in DragonFly
* Fix PLIST * Bump PKGREVISION
Diffstat (limited to 'sysutils/hal/Makefile')
-rw-r--r--sysutils/hal/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index d60441a9c2e..77dbbdd6bfd 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/22 15:20:51 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/23 21:50:51 hasso Exp $
#
DISTNAME= hal-0.5.11
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
EXTRACT_SUFX= .tar.bz2
@@ -34,6 +35,12 @@ CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids/usb.ids
CONFIGURE_ARGS+= --with-hal-user=${HAL_USER}
CONFIGURE_ARGS+= --with-hal-group=${HAL_GROUP}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= --with-eject=/usr/sbin/cdcontrol
+.endif
+
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= /bin/bash
REPLACE.bash.new= ${SH}
@@ -50,8 +57,6 @@ PKG_HOME.haldaemon= ${VARBASE}/run/hal
FILES_SUBST+= HAL_USER=${HAL_USER}
FILES_SUBST+= HAL_GROUP=${HAL_GROUP}
-.include "../../mk/bsd.prefs.mk"
-
.if ${OPSYS} == "Linux"
.include "../../devel/libusb/buildlink3.mk"
.include "../../sysutils/pciutils/buildlink3.mk"