aboutsummaryrefslogtreecommitdiffstats
path: root/palm/synce-librapi2
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-04-12 20:07:27 +0800
committervs <vs@FreeBSD.org>2004-04-12 20:07:27 +0800
commit2bec85e469c5260af31d0dc2bdec275b23c5491c (patch)
tree62e44b290a24614914d1213f211022fd203ebed8 /palm/synce-librapi2
parentde37b378617b0257c8a97f9921b5d7d80da2a93d (diff)
downloadfreebsd-ports-gnome-2bec85e469c5260af31d0dc2bdec275b23c5491c.tar.gz
freebsd-ports-gnome-2bec85e469c5260af31d0dc2bdec275b23c5491c.tar.zst
freebsd-ports-gnome-2bec85e469c5260af31d0dc2bdec275b23c5491c.zip
Fix /bin/bash-ism (approved by maintainer)
PR: 65359 Submitted by: Antoine Jacoutot Approved by: linimon (mentor)
Diffstat (limited to 'palm/synce-librapi2')
-rw-r--r--palm/synce-librapi2/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/palm/synce-librapi2/Makefile b/palm/synce-librapi2/Makefile
index 7f2e21d98f95..7ae769246e85 100644
--- a/palm/synce-librapi2/Makefile
+++ b/palm/synce-librapi2/Makefile
@@ -6,6 +6,7 @@
PORTNAME= synce-librapi2
PORTVERSION= 0.8.9
+PORTREVISION= 1
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce
@@ -19,6 +20,7 @@ ONLY_FOR_ARCHS= i386
MAN1= pcp.1 pls.1 pmkdir.1 pmv.1 prm.1 prmdir.1 prun.1 pstatus.1 rapiconfig.1 synce-install-cab.1 synce-remove-program.1 synce-list-programs.1
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_LIBTOOL_VER=13
USE_ICONV= yes
@@ -27,4 +29,10 @@ CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE}
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
INSTALLS_SHLIB= yes
+
+post-patch:
+.for f in synce-install-cab.in synce-remove-program.in
+ @${REINPLACE_CMD} -e 's+bin/bash+bin/sh+' ${WRKSRC}/script/${f}
+.endfor
+
.include <bsd.port.mk>