diff options
author | Will Andrews <will@FreeBSD.org> | 2000-03-25 21:49:47 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-03-25 21:49:47 +0000 |
commit | 246fe3cbb8b5cb6675275f8944f4ad26c632b6d3 (patch) | |
tree | 07130c7b879241800d9065af0a9880492fb95d37 /x11/kdelibs4/Makefile | |
parent | c2b3d7e609aecca3299f3acae6a69753b1ccdfa2 (diff) | |
download | ports-246fe3cbb8b5cb6675275f8944f4ad26c632b6d3.tar.gz ports-246fe3cbb8b5cb6675275f8944f4ad26c632b6d3.zip |
Notes
Diffstat (limited to 'x11/kdelibs4/Makefile')
-rw-r--r-- | x11/kdelibs4/Makefile | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index 7232d761abf7..1870564ec0e0 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -18,41 +18,25 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.3:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff -USE_LIBTOOL= yes USE_BZIP2= yes USE_QT= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+="--with-extra-includes=${PREFIX}/include" \ - "--x-inc=$(X11BASE)/include" \ - "--x-lib=$(X11BASE)/lib" \ - --enable-shared +CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \ + --x-libraries="$(X11BASE)/lib" --disable-static CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_GMAKE= yes +LIBVER= 3 +PLIST_SUB+= LIBVER="${LIBVER}" +MAKE_ENV+= SOMAJOR="${LIBVER}" SOMINOR="0" # generate KDE style mtree MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree MTREE_ARGS= -U -d -e -p -.include <bsd.port.pre.mk> - -LIBMAJOR= 3 -LIBMINOR= 0 -.if ${PORTOBJFORMAT} == "aout" -LIBVER= ${LIBMAJOR}.${LIBMINOR} -.else -LIBVER= ${LIBMAJOR} -.endif -PLIST_SUB= LIBVER=${LIBVER} -MAKE_ENV= SOMAJOR=${LIBMAJOR} SOMINOR=${LIBMINOR} - post-install: - @${TOUCH} ${PREFIX}/lib/libkdecore.la .for LIB in jscript kab kdecore kdeui kfile kfm khtmlw kimgio kspell mediatool @${LN} -sf ${PREFIX}/lib/lib${LIB}.so.${LIBVER} ${PREFIX}/lib/lib${LIB}.so -.if ${PORTOBJFORMAT} == "aout" - @${RM} -f ${PREFIX}/lib/lib${LIB}.so.${LIBMAJOR} -.endif .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |