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 /misc | |
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 'misc')
-rw-r--r-- | misc/kdeutils11/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/misc/kdeutils11/Makefile b/misc/kdeutils11/Makefile index 956b1bb13870..e7c070ac6666 100644 --- a/misc/kdeutils11/Makefile +++ b/misc/kdeutils11/Makefile @@ -23,8 +23,16 @@ LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11 USE_BZIP2= yes USE_QT= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-extra-includes=$(PREFIX)/include -CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" +CONFIGURE_ARGS= --with-extra-includes=$(PREFIX)/include \ + --with-qt-includes=${QTDIR}/include/X11/qt +CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \ + QTDIR=${QTDIR} USE_GMAKE= yes +.if defined(PREFIX) +QTDIR?= ${PREFIX} +.else +QTDIR?= ${X11BASE} +.endif + .include <bsd.port.mk> |