aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin-devel/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-10-06 12:54:47 +0800
committerclsung <clsung@FreeBSD.org>2006-10-06 12:54:47 +0800
commitb279952d072d31d4907de78857fe3500c5dc36f5 (patch)
tree6babda3776abfa842a4621ae975ff3ba497a06dc /chinese/gcin-devel/Makefile
parentf395266da72ecdbdd318b44c7781453dbe499f17 (diff)
downloadfreebsd-ports-gnome-b279952d072d31d4907de78857fe3500c5dc36f5.tar.gz
freebsd-ports-gnome-b279952d072d31d4907de78857fe3500c5dc36f5.tar.zst
freebsd-ports-gnome-b279952d072d31d4907de78857fe3500c5dc36f5.zip
- Fix syntax error while replace bash as sh
Detailed disscuss at: http://cle.linux.org.tw/gcin/readcomment.php?comment_id=397&comment_current_page=99999#comment - bump PORTREVISION PR: ports/104037 Submitted by: maintainer (chinsan)
Diffstat (limited to 'chinese/gcin-devel/Makefile')
-rw-r--r--chinese/gcin-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile
index 3668bcb61b68..5b20efa5ce0f 100644
--- a/chinese/gcin-devel/Makefile
+++ b/chinese/gcin-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcin
PORTVERSION= 1.2.6
+PORTREVISION= 1
CATEGORIES= chinese textproc gnome
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
@@ -52,7 +53,7 @@ pre-patch:
s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c
@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile
- @${REINPLACE_CMD} -e 's/bash/sh/;' ${WRKSRC}/scripts/gcin-user-setup
+ @${REINPLACE_CMD} -e 's/bash/sh/; s/&//;' ${WRKSRC}/scripts/gcin-user-setup
@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \
${WRKSRC}/scripts/utf8-edit
@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \