aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase11
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 /x11/kdebase11
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 'x11/kdebase11')
-rw-r--r--x11/kdebase11/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11/kdebase11/Makefile b/x11/kdebase11/Makefile
index 9720f2fd4906..5ca75955bf44 100644
--- a/x11/kdebase11/Makefile
+++ b/x11/kdebase11/Makefile
@@ -28,13 +28,23 @@ USE_BZIP2= yes
USE_QT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-xdmdir=${X11BASE}/lib/X11/xdm
+CONFIGURE_ARGS= --with-qt-includes=${QTDIR}/include/X11/qt \
+ --with-extra-includes=${LOCALBASE}/include \
+ --with-extra-libs=${LOCALBASE}/lib \
+ --with-xdmdir=${X11BASE}/lib/X11/xdm
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS) -DHAVE_GETUSERSHELL -DTIME_WITH_SYS_TIME" \
INSTALL_SCRIPT="install -c -m 555" PATH="${PATH}:${X11BASE}/bin" \
- RUN_KAPPFINDER="no"
+ RUN_KAPPFINDER="no" \
+ QTDIR=${QTDIR}
MAKE_ENV= RM=${RM}
CFLAGS+= "-I$(PREFIX)/include"
+.if defined(PREFIX)
+QTDIR?= ${PREFIX}
+.else
+QTDIR?= ${X11BASE}
+.endif
+
pre-patch:
@${CP} ${FILESDIR}/ja.kimap ${WRKSRC}/kikbd/maps