From owner-svn-ports-all@FreeBSD.ORG Sun Nov 9 22:49:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 644F1FFA; Sun, 9 Nov 2014 22:49:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51416DC8; Sun, 9 Nov 2014 22:49:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA9MnK7o055467; Sun, 9 Nov 2014 22:49:20 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA9MnKdm055466; Sun, 9 Nov 2014 22:49:20 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201411092249.sA9MnKdm055466@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 9 Nov 2014 22:49:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372379 - head/sysutils/hal X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2014 22:49:20 -0000 Author: bapt Date: Sun Nov 9 22:49:19 2014 New Revision: 372379 URL: https://svnweb.freebsd.org/changeset/ports/372379 QAT: https://qat.redports.org/buildarchive/r372379/ Log: Remove dependency on bash No bashism is available on freebsd supported scripts Still eradicate bashism on scripts that would never work on freebsd :) Modified: head/sysutils/hal/Makefile Modified: head/sysutils/hal/Makefile ============================================================================== --- head/sysutils/hal/Makefile Sun Nov 9 22:07:25 2014 (r372378) +++ head/sysutils/hal/Makefile Sun Nov 9 22:49:19 2014 (r372379) @@ -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/linu 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