summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-10-23 16:09:07 +0000
committerimura <imura@FreeBSD.org>2000-10-23 16:09:07 +0000
commitfbc2408f48a54708c5f1b7b70cc82d537d434c27 (patch)
treef465c2e519efb82d03f16717a9961e6c45782c07 /games
parent4d7670ea88575d979183487e6d38a45dbb4faf75 (diff)
downloadFreeBSD-ports-fbc2408f48a54708c5f1b7b70cc82d537d434c27.zip
FreeBSD-ports-fbc2408f48a54708c5f1b7b70cc82d537d434c27.tar.gz
Make it PREFIX-safe.
Submitted by: will
Diffstat (limited to 'games')
-rw-r--r--games/kdegames11/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/kdegames11/Makefile b/games/kdegames11/Makefile
index 1bd33c6..3c2ca5e 100644
--- a/games/kdegames11/Makefile
+++ b/games/kdegames11/Makefile
@@ -22,6 +22,16 @@ USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
+CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
+ "--with-extra-includes=${LOCALBASE}/include" \
+ "--with-extra-libs=${LOCALBASE}/lib"
+CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
+ QTDIR=${QTDIR}
+
+.if defined(PREFIX)
+QTDIR?= ${PREFIX}
+.else
+QTDIR?= ${X11BASE}
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud