diff options
author | clive <clive@FreeBSD.org> | 2002-09-29 04:46:51 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2002-09-29 04:46:51 +0800 |
commit | 5e928d2f9c1e69986ba3e302c8688b1d36cf2d93 (patch) | |
tree | 0554564c887c404b4059387dc901776d2240d236 /chinese | |
parent | ee13c76bd7f4e1aa315a3aad38b6af982713cfed (diff) | |
download | freebsd-ports-gnome-5e928d2f9c1e69986ba3e302c8688b1d36cf2d93.tar.gz freebsd-ports-gnome-5e928d2f9c1e69986ba3e302c8688b1d36cf2d93.tar.zst freebsd-ports-gnome-5e928d2f9c1e69986ba3e302c8688b1d36cf2d93.zip |
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
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/qe/Makefile | 8 | ||||
-rw-r--r-- | chinese/qe/files/post-patch-Makefile | 11 |
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, |