diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-02 18:52:35 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-02 18:52:35 +0800 |
commit | 3eb4df4c2222af0adbe86c1539e894dc33dabc65 (patch) | |
tree | 045ea9fc6b690c0b97e4ff99a61edeb7b2227726 /devel | |
parent | 2d15515504d2fc742216ba1eb57ee38ce1455d81 (diff) | |
download | freebsd-ports-gnome-3eb4df4c2222af0adbe86c1539e894dc33dabc65.tar.gz freebsd-ports-gnome-3eb4df4c2222af0adbe86c1539e894dc33dabc65.tar.zst freebsd-ports-gnome-3eb4df4c2222af0adbe86c1539e894dc33dabc65.zip |
Depend on calltree only on i386.
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> |