summaryrefslogtreecommitdiff
path: root/x11/rxvt
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2001-09-30 16:38:08 +0000
committermartin <martin@pkgsrc.org>2001-09-30 16:38:08 +0000
commit8259c28c075c7699ba3c53ac898418e14715bb7e (patch)
tree264fd3e86af0133f1624d8c760e5cc3681c583dd /x11/rxvt
parentc5a960ec80cdcf20789941059ad784d9c28b4b2d (diff)
downloadpkgsrc-8259c28c075c7699ba3c53ac898418e14715bb7e.tar.gz
Fix references to installed pkg directory.
This should now work w/ or w/o xpkgwedge installed. Closes PR 14102.
Diffstat (limited to 'x11/rxvt')
-rw-r--r--x11/rxvt/Makefile10
1 files changed, 5 insertions, 5 deletions
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"