summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-09-28 20:46:51 +0000
committerClive Lin <clive@FreeBSD.org>2002-09-28 20:46:51 +0000
commitbb82744a29a74b9aaf35a02ae07577cadaa0a77f (patch)
tree5ae609e0ea9403fca5dd471c7cbb367f347ffaf1 /chinese
parentRemove non-working mirror sites from MASTER_SITE_RUBY. (diff)
o Fix build on -CURRENT.
o Use REINPLACE_CMD instead of a hard wired patch, which breaks this port on -CURRENT. o Use tab instead of space, BTW. Submitted by: bento
Notes
Notes: svn path=/head/; revision=67192
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,