diff options
author | rillig <rillig@pkgsrc.org> | 2005-07-17 21:57:52 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-07-17 21:57:52 +0000 |
commit | 2b9c3c33ea89cf5143cb947c71f6795d88ec8061 (patch) | |
tree | 42f7dc13ba6fdf66f3a9c2408c6fdf5722091427 /x11 | |
parent | 5c9746523df5658dcec7e24d64f911764decf45d (diff) | |
download | pkgsrc-2b9c3c33ea89cf5143cb947c71f6795d88ec8061.tar.gz |
Completed the last change. It could have failed if NONBINMODE was 444.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/imake/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/x11/imake/Makefile b/x11/imake/Makefile index 49147777eff..79ad6887e77 100644 --- a/x11/imake/Makefile +++ b/x11/imake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/07/17 21:47:00 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2005/07/17 21:57:52 rillig Exp $ DISTNAME= ${DISTFILES} PKGNAME= imake-${XF_VER} @@ -64,16 +64,13 @@ post-install: ${_PKG_SILENT}${_PKG_DEBUG} \ hostdef=${X11ROOT:Q}/lib/X11/config/host.def; \ hosttmp=${WRKSRC:Q}/host.def.tmp; \ - ${SED} -e "s|\#define ProjectRoot ${X11ROOT}||" \ - "$${hostdef}" > "$${hosttmp}"; \ + (${SED} -e "s|\#define ProjectRoot ${X11ROOT}||" "$${hostdef}"; \ + ${ECHO} ""; \ + ${ECHO} "#ifdef BeforeVendorCF"; \ + ${ECHO} "#define ProjectRoot ${X11ROOT}"; \ + ${ECHO} "#endif"; \ + )> "$${hosttmp}"; \ ${INSTALL_DATA} "$${hosttmp}" "$${hostdef}"; \ ${RM} -f "$${hosttmp}" - @( \ - ${ECHO}; \ - ${ECHO} "#ifdef BeforeVendorCF"; \ - ${ECHO} "#define ProjectRoot ${X11ROOT}"; \ - ${ECHO} "#endif"; \ - ) >> ${X11ROOT}/lib/X11/config/host.def - .include "../../mk/bsd.pkg.mk" |