From 8259c28c075c7699ba3c53ac898418e14715bb7e Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 30 Sep 2001 16:38:08 +0000 Subject: Fix references to installed pkg directory. This should now work w/ or w/o xpkgwedge installed. Closes PR 14102. --- x11/rxvt/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'x11/rxvt') diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile index 19bf333b946..c64ba1611cc 100644 --- a/x11/rxvt/Makefile +++ b/x11/rxvt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2001/08/29 22:41:30 jlam Exp $ +# $NetBSD: Makefile,v 1.28 2001/09/30 16:38:08 martin Exp $ # FreeBSD Id: Makefile,v 1.13 1997/03/07 12:29:49 obrien Exp # @@ -16,7 +16,7 @@ COMMENT= Low memory usage xterm replacement that supports color USE_BUILDLINK_ONLY= YES USE_X11BASE= YES GNU_CONFIGURE= YES -MESSAGE_SUBST+= X11BASE="${X11BASE}" +MESSAGE_SUBST+= X11BASE="${X11PREFIX}" CONFIGURE_ARGS+= --enable-utmp \ --enable-wtmp \ @@ -46,11 +46,11 @@ CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_DIR}/lib post-patch: ${MV} ${WRKSRC}/src/feature.h ${WRKSRC}/src/feature.h.orig ${SED} < ${WRKSRC}/src/feature.h.orig > ${WRKSRC}/src/feature.h \ - -e "s:/usr/lib/X11/app-defaults:${X11BASE}/lib/X11/app-defaults:" + -e "s:/usr/lib/X11/app-defaults:${X11PREFIX}/lib/X11/app-defaults:" pre-install: - if [ ! -f ${X11BASE}/lib/X11/app-defaults/Rxvt ]; then \ - ${INSTALL_DATA} ${FILESDIR}/Rxvt ${X11BASE}/lib/X11/app-defaults; \ + if [ ! -f ${X11PREFIX}/lib/X11/app-defaults/Rxvt ]; then \ + ${INSTALL_DATA} ${FILESDIR}/Rxvt ${X11PREFIX}/lib/X11/app-defaults; \ fi .include "../../graphics/xpm/buildlink.mk" -- cgit v1.2.3