summaryrefslogtreecommitdiff
path: root/sysutils/torsmo
diff options
context:
space:
mode:
authorjoerg <joerg>2009-11-26 00:46:14 +0000
committerjoerg <joerg>2009-11-26 00:46:14 +0000
commit16440fd01c34ab103494a7a1f31436ddad8a121a (patch)
tree99d0810e11e8a290fefb8c69cb9dc23a34ba1628 /sysutils/torsmo
parentc12030d829d66a3c8e43047ca56823868402cc6f (diff)
downloadpkgsrc-16440fd01c34ab103494a7a1f31436ddad8a121a.tar.gz
Needs --x-includes / --x-libraries with modular Xorg.
Diffstat (limited to 'sysutils/torsmo')
-rw-r--r--sysutils/torsmo/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/torsmo/Makefile b/sysutils/torsmo/Makefile
index e230e72d9c8..79c245b200c 100644
--- a/sysutils/torsmo/Makefile
+++ b/sysutils/torsmo/Makefile
@@ -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 @@ INSTALLATION_DIRS+= share/doc/torsmo
.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