diff options
author | rillig <rillig> | 2005-07-17 21:57:52 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-07-17 21:57:52 +0000 |
commit | e503179a4a88f82f72804e2759b3aa94e58aeae6 (patch) | |
tree | 42f7dc13ba6fdf66f3a9c2408c6fdf5722091427 | |
parent | 79b1a584ff3033b1f24b678049b99cbe3e8da589 (diff) | |
download | pkgsrc-e503179a4a88f82f72804e2759b3aa94e58aeae6.tar.gz |
Completed the last change. It could have failed if NONBINMODE was 444.
-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" |