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/kdelibs11 | |
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/kdelibs11')
-rw-r--r-- | x11/kdelibs11/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/x11/kdelibs11/Makefile b/x11/kdelibs11/Makefile index 670f93df94ae..51b02e013e5a 100644 --- a/x11/kdelibs11/Makefile +++ b/x11/kdelibs11/Makefile @@ -34,9 +34,17 @@ INSTALLS_SHLIB= yes USE_LIBTOOL= yes LIBTOOLFLAGS= CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \ - --x-libraries="$(X11BASE)/lib" --disable-static + --x-libraries="$(X11BASE)/lib" --disable-static \ + --with-qt-includes=${QTDIR}/include/X11/qt CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" \ + QTDIR=${QTDIR} + +.if defined(PREFIX) +QTDIR?= ${PREFIX} +.else +QTDIR?= ${X11BASE} +.endif # generate KDE style mtree MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree |