aboutsummaryrefslogtreecommitdiff
path: root/devel/kdesdk3
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-08-02 10:52:35 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-08-02 10:52:35 +0000
commit67715d9a165c2c5d6577be62d6f28caed824b464 (patch)
tree28e1a5b61433f78dc020971b0a65a012d7083051 /devel/kdesdk3
parentec23d24f288ae79cf6d65b9e2dc0eb564b2fa3a0 (diff)
downloadports-67715d9a165c2c5d6577be62d6f28caed824b464.tar.gz
ports-67715d9a165c2c5d6577be62d6f28caed824b464.zip
Notes
Diffstat (limited to 'devel/kdesdk3')
-rw-r--r--devel/kdesdk3/Makefile15
1 files changed, 11 insertions, 4 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>