aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/qe/Makefile8
-rw-r--r--chinese/qe/files/post-patch-Makefile11
2 files changed, 4 insertions, 15 deletions
diff --git a/chinese/qe/Makefile b/chinese/qe/Makefile
index 632dee30ac67..92d1d49d248a 100644
--- a/chinese/qe/Makefile
+++ b/chinese/qe/Makefile
@@ -13,11 +13,11 @@ MASTER_SITES= http://www.cc.ncu.edu.tw/~center5/product/qe/ \
MAINTAINER= statue@freebsd.sinica.edu.tw
-HAS_CONFIGURE= yes
-USE_GMAKE= yes
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
post-configure:
- @(cd ${WRKSRC} && \
- ${PATCH} < ${FILESDIR}/post-patch-Makefile )
+ @${REINPLACE_CMD} -e '49s,-s,,' ${WRKSRC}/src/Makefile
.include <bsd.port.mk>
diff --git a/chinese/qe/files/post-patch-Makefile b/chinese/qe/files/post-patch-Makefile
deleted file mode 100644
index ea7c870e657b..000000000000
--- a/chinese/qe/files/post-patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.orig Tue Jun 26 16:33:00 2001
-+++ src/Makefile Tue Jun 26 16:33:09 2001
-@@ -46,7 +46,7 @@
- AUTOHEADER = autoheader
-
- INSTALL = /usr/bin/install -c -o root -g wheel
--INSTALL_PROGRAM = install -c -s -o root -g wheel -m 555 $(AM_INSTALL_PROGRAM_FLAGS)
-+INSTALL_PROGRAM = install -c -o root -g wheel -m 555 $(AM_INSTALL_PROGRAM_FLAGS)
- INSTALL_DATA = install -c -o root -g wheel -m 444
- INSTALL_SCRIPT = install -c -o root -g wheel -m 555
- transform = s,x,x,