aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kdeadmin4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/kdeadmin4/Makefile')
-rw-r--r--sysutils/kdeadmin4/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/kdeadmin4/Makefile b/sysutils/kdeadmin4/Makefile
index 025b5a8dfcdd..44a106fc73b0 100644
--- a/sysutils/kdeadmin4/Makefile
+++ b/sysutils/kdeadmin4/Makefile
@@ -27,8 +27,10 @@ USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-
-.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|pkgconfigdir =.*|pkgconfigdir = ${LOCALBASE}/libdata/pkgconfig|g' \
+ ${WRKSRC}/knetworkconf/backends/Makefile.in
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+.include <bsd.port.mk>