diff options
author | imura <imura@FreeBSD.org> | 2000-10-24 00:09:07 +0800 |
---|---|---|
committer | imura <imura@FreeBSD.org> | 2000-10-24 00:09:07 +0800 |
commit | fbc2408f48a54708c5f1b7b70cc82d537d434c27 (patch) | |
tree | f465c2e519efb82d03f16717a9961e6c45782c07 /x11/kdebase11 | |
parent | 4d7670ea88575d979183487e6d38a45dbb4faf75 (diff) | |
download | freebsd-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/Makefile | 14 |
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 |