pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kdebase3 "ln -s" fails when the file already exist...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ded0303e263
branches:  trunk
changeset: 529533:5ded0303e263
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jun 07 07:27:09 2007 +0000

description:
"ln -s" fails when the file already exists. Prevent that.

Make sure that fontinst will be built and installed.

diffstat:

 x11/kdebase3/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 1afe8f48110d -r 5ded0303e263 x11/kdebase3/Makefile
--- a/x11/kdebase3/Makefile     Thu Jun 07 05:02:32 2007 +0000
+++ b/x11/kdebase3/Makefile     Thu Jun 07 07:27:09 2007 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index