diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-30 18:19:07 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-30 18:19:07 +0800 |
commit | 1b9604db3dc48b4f8aba5a92bc557024f0604161 (patch) | |
tree | 2a4473e34185fa8c6e00818ac198b45c585308de /x11 | |
parent | 9af2de95ec48c52349afd58b8dd35826395ca366 (diff) | |
download | freebsd-ports-gnome-1b9604db3dc48b4f8aba5a92bc557024f0604161.tar.gz freebsd-ports-gnome-1b9604db3dc48b4f8aba5a92bc557024f0604161.tar.zst freebsd-ports-gnome-1b9604db3dc48b4f8aba5a92bc557024f0604161.zip |
Make x11/x3270 building again on 4-STABLE.
Noticed by: bento / linimon
Informed maintainer.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/x3270/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile index 244c262d42c9..1f46e14ce135 100644 --- a/x11/x3270/Makefile +++ b/x11/x3270/Makefile @@ -26,6 +26,7 @@ RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients WRKSRC= ${WRKDIR}/x3270-3.1.1 MAN1= x3270.1 x3270if.1 x3270-script.1 ibm_hosts.1 MANCOMPRESSED= yes +USE_REINPLACE= yes pre-install: .if !exists(${X11BASE}/lib/X11/fonts/local) @@ -36,4 +37,14 @@ pre-install: @${ECHO} "*********************************************************" .endif +# +# This patch is to make sure that mkversion.sh can be ran on FreeBSD 4-STABLE +# which will get $(CLIENTENVSETUP) in its CC macro. +# +post-configure: + ${REINPLACE_CMD} \ + -e 's,sh \./mkversion\.sh $$(CC),$$(CLIENTENVSETUP) sh ./mkversion.sh %%CC%%,' \ + -e 's,%%CC%%,${CC},' \ + ${WRKSRC}/Makefile + .include <bsd.port.post.mk> |