aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-10-24 00:09:07 +0800
committerimura <imura@FreeBSD.org>2000-10-24 00:09:07 +0800
commitfbc2408f48a54708c5f1b7b70cc82d537d434c27 (patch)
treef465c2e519efb82d03f16717a9961e6c45782c07 /converters
parent4d7670ea88575d979183487e6d38a45dbb4faf75 (diff)
downloadfreebsd-ports-gnome-fbc2408f48a54708c5f1b7b70cc82d537d434c27.tar.gz
freebsd-ports-gnome-fbc2408f48a54708c5f1b7b70cc82d537d434c27.tar.zst
freebsd-ports-gnome-fbc2408f48a54708c5f1b7b70cc82d537d434c27.zip
Make it PREFIX-safe.
Submitted by: will
Diffstat (limited to 'converters')
-rw-r--r--converters/kdesupport11/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/converters/kdesupport11/Makefile b/converters/kdesupport11/Makefile
index cc35f3b09fd4..8e402b4dccec 100644
--- a/converters/kdesupport11/Makefile
+++ b/converters/kdesupport11/Makefile
@@ -21,7 +21,15 @@ USE_QT= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --without-libjpeg --without-libgif \
- --without-libgdbm --without-libuulib
-CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
+ --without-libgdbm --without-libuulib \
+ --with-qt-includes=${QTDIR}/include/X11/qt
+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>