summaryrefslogtreecommitdiff
path: root/sysutils/torsmo
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-26 00:46:14 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-26 00:46:14 +0000
commit6bdd70d70a3bd385dc982398edda76cf6c1e093f (patch)
tree99d0810e11e8a290fefb8c69cb9dc23a34ba1628 /sysutils/torsmo
parent4b30e11afed679b10ddba0c51dce633705aa86ef (diff)
downloadpkgsrc-6bdd70d70a3bd385dc982398edda76cf6c1e093f.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