pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/fsviewer Needs --x-includes/--x-libraries for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ffb4a84e6e03
branches:  trunk
changeset: 567993:ffb4a84e6e03
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 30 19:10:44 2009 +0000

description:
Needs --x-includes/--x-libraries for modular Xorg too.

diffstat:

 sysutils/fsviewer/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r ca6d58d1a4db -r ffb4a84e6e03 sysutils/fsviewer/Makefile
--- a/sysutils/fsviewer/Makefile        Mon Nov 30 18:52:33 2009 +0000
+++ b/sysutils/fsviewer/Makefile        Mon Nov 30 19:10:44 2009 +0000
@@ -1,5 +1,4 @@
-
-# $NetBSD: Makefile,v 1.25 2009/08/26 19:58:17 sno Exp $
+# $NetBSD: Makefile,v 1.26 2009/11/30 19:10:44 joerg Exp $
 
 DISTNAME=      FSViewer.app-0.2.5
 PKGNAME=       FSViewer-0.2.5
@@ -21,6 +20,13 @@
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+=       --x-includes=${PREFIX:Q}/include
+CONFIGURE_ARGS+=       --x-libraries=${PREFIX:Q}/lib
+.endif
+
 .include "../../wm/windowmaker/buildlink3.mk"
 .include "../../x11/libXinerama/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index