pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/torsmo Needs --x-includes / --x-libraries wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a6ad117e03e
branches:  trunk
changeset: 567844:6a6ad117e03e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 26 00:46:14 2009 +0000

description:
Needs --x-includes / --x-libraries with modular Xorg.

diffstat:

 sysutils/torsmo/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 20561df6680f -r 6a6ad117e03e sysutils/torsmo/Makefile
--- a/sysutils/torsmo/Makefile  Thu Nov 26 00:42:19 2009 +0000
+++ b/sysutils/torsmo/Makefile  Thu Nov 26 00:46:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/01/04 12:31:02 ghen Exp $
+# $NetBSD: Makefile,v 1.6 2009/11/26 00:46:14 joerg Exp $
 
 DISTNAME=              torsmo-0.18
 CATEGORIES=            sysutils
@@ -22,6 +22,11 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+=       --x-includes=${PREFIX}/include
+CONFIGURE_ARGS+=       --x-libraries=${PREFIX}/lib
+.endif
+
 .if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" \
                          || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Linux")
 SPECIAL_PERMS+=        bin/torsmo ${BINOWN} kmem 2555



Home | Main Index | Thread Index | Old Index