summaryrefslogtreecommitdiff
path: root/net/kdenetwork/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/kdenetwork/Makefile')
-rw-r--r--net/kdenetwork/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/net/kdenetwork/Makefile b/net/kdenetwork/Makefile
index 14211fb38a4..bec4465c0d8 100644
--- a/net/kdenetwork/Makefile
+++ b/net/kdenetwork/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 1999/02/19 23:07:20 tron Exp $
+# $NetBSD: Makefile,v 1.28 1999/03/05 22:13:56 tron Exp $
# FreeBSD Id: Makefile,v 1.3 1997/11/05 04:19:54 asami Exp
#
@@ -33,4 +33,16 @@ CONFIGURE_ENV= KDEDIR=${PREFIX} \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+PLIST_SRC= ${PKGDIR}/PLIST.egcs
+.else
+PLIST_SRC= ${PKGDIR}/PLIST.gcc
+.endif
+
+post-install:
+.if (${GCC_VERSION:C/-.*$$//} != egcs)
+ @find ${PREFIX}/share/kde/locale -name ksirc.mo | xargs ${RM}
+.endif
+
.include "../../mk/bsd.pkg.mk"