summaryrefslogtreecommitdiff
path: root/x11/rxvt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-17 04:49:45 +0000
committerjlam <jlam@pkgsrc.org>2005-06-17 04:49:45 +0000
commitd0915c61c3e5274723f1ab455789fc8891f1bec5 (patch)
tree60b722189a49bfe1537f12edb5ede23f86aeb41e /x11/rxvt
parent9df842d1237e5ab852210ddbb94642641ca27d97 (diff)
downloadpkgsrc-d0915c61c3e5274723f1ab455789fc8891f1bec5.tar.gz
Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead of
${PREFIX}.
Diffstat (limited to 'x11/rxvt')
-rw-r--r--x11/rxvt/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index 02deafe541f..a442000f88a 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2005/04/11 21:48:13 tv Exp $
+# $NetBSD: Makefile,v 1.47 2005/06/17 04:49:49 jlam Exp $
DISTNAME= rxvt-2.7.10
PKGREVISION= 4
@@ -58,11 +58,12 @@ CFLAGS+= -DSunOS
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:${X11PREFIX}/lib/X11/app-defaults:"
+ -e "s:/usr/lib/X11/app-defaults:${PREFIX}/lib/X11/app-defaults:"
pre-install:
- if [ ! -f ${X11PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
- ${INSTALL_DATA} ${FILESDIR}/Rxvt ${X11PREFIX}/lib/X11/app-defaults; \
+ if [ ! -f ${PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults; \
+ ${INSTALL_DATA} ${FILESDIR}/Rxvt ${PREFIX}/lib/X11/app-defaults; \
fi
.include "../../graphics/xpm/buildlink3.mk"