diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-02 10:52:35 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-02 10:52:35 +0000 |
commit | 67715d9a165c2c5d6577be62d6f28caed824b464 (patch) | |
tree | 28e1a5b61433f78dc020971b0a65a012d7083051 /devel | |
parent | ec23d24f288ae79cf6d65b9e2dc0eb564b2fa3a0 (diff) | |
download | ports-67715d9a165c2c5d6577be62d6f28caed824b464.tar.gz ports-67715d9a165c2c5d6577be62d6f28caed824b464.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kdesdk3/Makefile | 15 | ||||
-rw-r--r-- | devel/kdesdk4/Makefile | 15 |
2 files changed, 22 insertions, 8 deletions
diff --git a/devel/kdesdk3/Makefile b/devel/kdesdk3/Makefile index f357315d52f7..7f6254991aff 100644 --- a/devel/kdesdk3/Makefile +++ b/devel/kdesdk3/Makefile @@ -15,7 +15,6 @@ DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE Software Development Kit -RUN_DEPENDS= calltree:${PORTSDIR}/devel/calltree LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 CONFLICTS= umbrello-[0-9]* kcachegrind-[0-9]* @@ -32,10 +31,18 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +.include "${.CURDIR}/../../x11/kde3/Makefile.kde" +.include <bsd.port.pre.mk> + +# calltree is a plugin for valgrind, which is i386-only +# kcachegrind however likes to use them both, so we depend +# on them in the i386-case +.if ${ARCH} == "i386" +RUN_DEPENDS+= calltree:${PORTSDIR}/devel/calltree +.endif + pre-configure: @${REINPLACE_CMD} -e 's|-I$$ac_db_includes|-I${LOCALBASE}/include/db4|g' \ -e 's|ac_db_name="db"|ac_db_name="db4"|g' ${WRKSRC}/configure -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" - -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/kdesdk4/Makefile b/devel/kdesdk4/Makefile index f357315d52f7..7f6254991aff 100644 --- a/devel/kdesdk4/Makefile +++ b/devel/kdesdk4/Makefile @@ -15,7 +15,6 @@ DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE Software Development Kit -RUN_DEPENDS= calltree:${PORTSDIR}/devel/calltree LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 CONFLICTS= umbrello-[0-9]* kcachegrind-[0-9]* @@ -32,10 +31,18 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +.include "${.CURDIR}/../../x11/kde3/Makefile.kde" +.include <bsd.port.pre.mk> + +# calltree is a plugin for valgrind, which is i386-only +# kcachegrind however likes to use them both, so we depend +# on them in the i386-case +.if ${ARCH} == "i386" +RUN_DEPENDS+= calltree:${PORTSDIR}/devel/calltree +.endif + pre-configure: @${REINPLACE_CMD} -e 's|-I$$ac_db_includes|-I${LOCALBASE}/include/db4|g' \ -e 's|ac_db_name="db"|ac_db_name="db4"|g' ${WRKSRC}/configure -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" - -.include <bsd.port.mk> +.include <bsd.port.post.mk> |