aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdesdk3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kdesdk3/Makefile')
-rw-r--r--devel/kdesdk3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/kdesdk3/Makefile b/devel/kdesdk3/Makefile
index 7ba537187ffa..39d150bccc03 100644
--- a/devel/kdesdk3/Makefile
+++ b/devel/kdesdk3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdesdk
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -15,7 +16,7 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Software Development Kit
-LIB_DEPENDS= db41:${PORTSDIR}/databases/db41
+LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
CONFLICTS= umbrello-*
@@ -31,6 +32,10 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
+pre-configure:
+ @${REINPLACE_CMD} -e 's|-I$$ac_db_includes|-I${LOCALBASE}/include/db41|g' \
+ -e 's|ac_db_name="db"|ac_db_name="db4"|g' ${WRKSRC}/configure
+
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>