pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/eag Pass down --x-includes/--x-libraries for modu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8be781ed79a9
branches:  trunk
changeset: 567857:8be781ed79a9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 26 16:40:55 2009 +0000

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

diffstat:

 lang/eag/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 03f6b04fd6c5 -r 8be781ed79a9 lang/eag/Makefile
--- a/lang/eag/Makefile Thu Nov 26 16:34:32 2009 +0000
+++ b/lang/eag/Makefile Thu Nov 26 16:40:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/11/10 17:21:36 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/11/26 16:40:55 joerg Exp $
 
 DISTNAME=              eag-2.3
 PKGREVISION=           3
@@ -16,5 +16,12 @@
 USE_LIBTOOL=           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 "../../x11/libXaw/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index