aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/xsim
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2009-06-05 06:07:28 +0800
committergerald <gerald@FreeBSD.org>2009-06-05 06:07:28 +0800
commitf64f2a1e248fc67600b270c9e5977939e2d32c24 (patch)
tree1a6d333cda22b9cef5e3acecd3690ac7f5c525ea /chinese/xsim
parentd3943df2909d067ed0d4cb9af78b03c1254f4a55 (diff)
downloadfreebsd-ports-gnome-f64f2a1e248fc67600b270c9e5977939e2d32c24.tar.gz
freebsd-ports-gnome-f64f2a1e248fc67600b270c9e5977939e2d32c24.tar.zst
freebsd-ports-gnome-f64f2a1e248fc67600b270c9e5977939e2d32c24.zip
Fix post-patch to allow for CFLAGS containing a slash (which happens
in case of pathnames).
Diffstat (limited to 'chinese/xsim')
-rw-r--r--chinese/xsim/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 0c37b9ae7b46..e229a33c88cb 100644
--- a/chinese/xsim/Makefile
+++ b/chinese/xsim/Makefile
@@ -42,7 +42,7 @@ post-patch:
@${FIND} ${WRKSRC} ! -type d \
-exec ${GREP} -q _CPP_BITS_IOSBASE_H '{}' \; \
-exec ${REINPLACE_CMD} 's/#ifdef _CPP_BITS_IOSBASE_H/#if defined(_IOS_BASE_H) || defined(_CPP_BITS_IOSBASE_H)/g' '{}' \;
- ${REINPLACE_CMD} "s/-O2/${CFLAGS}/g; s,/usr/local,${LOCALBASE},; s|s,@bdblib@,\$$bdblib,|s,@bdblib@,${BDB_LIB_CXX_NAME},|" ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s#-O2#${CFLAGS}#g; s,/usr/local,${LOCALBASE},; s|s,@bdblib@,\$$bdblib,|s,@bdblib@,${BDB_LIB_CXX_NAME},|" ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim