summaryrefslogtreecommitdiff
path: root/x11/kdebase3/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-06-07 07:27:09 +0000
committerrillig <rillig@pkgsrc.org>2007-06-07 07:27:09 +0000
commitc747a41c667c161897572bdbea077bdf72bb82ad (patch)
tree11a9661ecd634376f968d1261a3d3158824b71ce /x11/kdebase3/Makefile
parent6ebb4312a646455462658b76db6d430fbe8c640c (diff)
downloadpkgsrc-c747a41c667c161897572bdbea077bdf72bb82ad.tar.gz
"ln -s" fails when the file already exists. Prevent that.
Make sure that fontinst will be built and installed.
Diffstat (limited to 'x11/kdebase3/Makefile')
-rw-r--r--x11/kdebase3/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index 7d5acd2d6b4..d4aefe5d8ab 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2007/05/23 13:05:33 markd Exp $
+# $NetBSD: Makefile,v 1.127 2007/06/07 07:27:09 rillig Exp $
DISTNAME= kdebase-${_KDE_VERSION}
CATEGORIES= x11
@@ -132,7 +132,12 @@ SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g'
SUBST_STAGE.paths= post-patch
pre-configure:
- ${LN} -s FreeBSD ${WRKSRC}/ksysguard/ksysguardd/DragonFly
+ cd ${WRKSRC}/ksysguard/ksysguardd && rm -f DragonFly && ln -s FreeBSD DragonFly
+
+post-configure:
+ # Make sure that fontinst has been selected.
+ # Otherwise the package gets incomplete.
+ grep "s,@include_fontinst_tn_TRUE@,," ${WRKSRC}/config.status
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/templates/.source/emptydir