diff options
author | rillig <rillig> | 2007-06-07 07:27:09 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-06-07 07:27:09 +0000 |
commit | cb953a8dcbade2378fc1d1ba26dd89971513346d (patch) | |
tree | 11a9661ecd634376f968d1261a3d3158824b71ce /x11/kdebase3 | |
parent | f077b8ec148e167f1a028fe38b22380951bb3dcb (diff) | |
download | pkgsrc-cb953a8dcbade2378fc1d1ba26dd89971513346d.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')
-rw-r--r-- | x11/kdebase3/Makefile | 9 |
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 |