summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrillig <rillig>2007-06-07 07:27:09 +0000
committerrillig <rillig>2007-06-07 07:27:09 +0000
commitea8bec5847951fb8c1613b25b5b62273a22afb27 (patch)
tree11a9661ecd634376f968d1261a3d3158824b71ce /x11
parentd4f13fbd06d32104660960e0b53f24e9a8493b19 (diff)
downloadpkgsrc-ea8bec5847951fb8c1613b25b5b62273a22afb27.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')
-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