summaryrefslogtreecommitdiff
path: root/sysutils/hal/Makefile
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-09-25 16:26:15 +0000
committerrichard <richard@pkgsrc.org>2015-09-25 16:26:15 +0000
commit325679beaa0a80460ef4cd6c01bead78b3fd2828 (patch)
tree4cdb09134b0287f1482a7a805f165563cc5a9a0a /sysutils/hal/Makefile
parent6ed6de702eb408fbdec561bc24c44b64ff688f78 (diff)
downloadpkgsrc-325679beaa0a80460ef4cd6c01bead78b3fd2828.tar.gz
Update hal with a SMF manifest and method and a correction
for PKG_HOME.haldaemon to default to /var/run/hald instead of /var/run/hal The init script hardcoded /var/run/hald so now use the corrected variable. Also, use OPSYSVARS for BUILDLINK_TRANSFORMS adding one for SunOS -z.ignore bump PKGREVISION
Diffstat (limited to 'sysutils/hal/Makefile')
-rw-r--r--sysutils/hal/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 25f1b56c9c6..64e7c4f7135 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.74 2015/09/07 09:03:24 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2015/09/25 16:26:15 richard Exp $
DISTNAME= hal-0.5.14
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
EXTRACT_SUFX= .tar.bz2
@@ -74,9 +74,9 @@ PLIST_SRC= PLIST
CFLAGS.SunOS+= -Du_int32_t=uint32_t
-.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-Wl,--as-needed
-.endif
+OPSYSVARS+= BUILDLINK_TRANSFORM
+BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--as-needed:-Wl,-zignore
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= /bin/bash
@@ -92,15 +92,17 @@ CONFIGURE_ARGS+= --with-hal-group=${HAL_GROUP}
CONFIGURE_ARGS+= --disable-pmu
RCD_SCRIPTS= hal
+SMF_METHODS= hal
.if ${HAL_GROUP} != "operator"
PKG_GROUPS= ${HAL_GROUP}
.endif
PKG_USERS= ${HAL_USER}:${HAL_GROUP}
-PKG_HOME.haldaemon= ${VARBASE}/run/hal
+PKG_HOME.haldaemon= ${VARBASE}/run/hald
FILES_SUBST+= HAL_USER=${HAL_USER}
FILES_SUBST+= HAL_GROUP=${HAL_GROUP}
+FILES_SUBST+= PKG_HOME.haldaemon=${PKG_HOME.haldaemon}
PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}