summaryrefslogtreecommitdiff
path: root/x11/viewres
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-07 00:50:49 +0000
committerdholland <dholland@pkgsrc.org>2012-06-07 00:50:49 +0000
commit21cd95f1cb32f62e4229c53eb0a5bb623023985a (patch)
tree9fdc33890290cf7623f26bcb6dc9e56cc8520c31 /x11/viewres
parent850966c4906211ada02f37cac220f27ffbf256c1 (diff)
downloadpkgsrc-21cd95f1cb32f62e4229c53eb0a5bb623023985a.tar.gz
Set appdefaultdir so the app-defaults don't end up in /usr/X11R[67] if
built against native X. (Copied from xclock.)
Diffstat (limited to 'x11/viewres')
-rw-r--r--x11/viewres/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/viewres/Makefile b/x11/viewres/Makefile
index 542150f8211..28bec54a407 100644
--- a/x11/viewres/Makefile
+++ b/x11/viewres/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2012/06/06 09:27:19 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2012/06/07 00:50:49 dholland Exp $
#
DISTNAME= viewres-1.0.3
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.bz2
@@ -18,5 +19,7 @@ USE_TOOLS+= pkg-config
#CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+MAKE_FLAGS+= appdefaultdir=${PREFIX}/lib/X11/app-defaults
+
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"