diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-10 06:49:19 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-10 06:49:19 +0800 |
commit | 5d8872a44f6375651567994119e581280e6e1b6a (patch) | |
tree | 1e84a10fbfe7b83db9757964f95bba0f05f5c75a /sysutils | |
parent | 7ad6daf90a3c68b6ef9ca5ea02f56d4940f0280b (diff) | |
download | freebsd-ports-gnome-5d8872a44f6375651567994119e581280e6e1b6a.tar.gz freebsd-ports-gnome-5d8872a44f6375651567994119e581280e6e1b6a.tar.zst freebsd-ports-gnome-5d8872a44f6375651567994119e581280e6e1b6a.zip |
Remove dependency on bash
No bashism is available on freebsd supported scripts
Still eradicate bashism on scripts that would never work on freebsd :)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/hal/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index dace3266eda9..84ca0a14523b 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -4,7 +4,7 @@ PORTNAME= hal DISTVERSION= 0.5.14 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ @@ -16,8 +16,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l LIB_DEPENDS= libpolkit.so.2:${PORTSDIR}/sysutils/policykit \ libvolume_id.so:${PORTSDIR}/devel/libvolume_id \ libck-connector.so:${PORTSDIR}/sysutils/consolekit -RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids \ - bash:${PORTSDIR}/shells/bash +RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids USES= gettext gmake libtool:keepla pathfix pkgconfig python shebangfix USE_GNOME= intlhack @@ -43,6 +42,7 @@ CONFIGURE_ARGS= --disable-gtk-doc \ CONFIGURE_ENV= GTKDOC="false" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +bash_CMD= ${SH} SHEBANG_FILES= tools/hal-* #HALVERSION= 0.5.10 @@ -81,6 +81,7 @@ PLIST_SUB+= USB2="@comment " .endif post-patch: + @${REINPLACE_CMD} -e 's/==/=/g' ${WRKSRC}/tools/hal-luks* @${REINPLACE_CMD} -e '/^scriptdir = /s|[(]libexecdir[)]/scripts|(libexecdir)/hal/scripts|' \ ${WRKSRC}/tools/Makefile.in \ ${WRKSRC}/tools/freebsd/Makefile.in |