aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc42/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-01-14 15:24:54 +0800
committerobrien <obrien@FreeBSD.org>1998-01-14 15:24:54 +0800
commit93fa027a0fbbf44701f56aeb4b8aa8af03f0a779 (patch)
tree86c437a76d843a480109ecf1e30a80c2bfdaee20 /lang/gcc42/Makefile
parent617e400828ca0961c4e424455da8095f3b028ebb (diff)
downloadfreebsd-ports-gnome-93fa027a0fbbf44701f56aeb4b8aa8af03f0a779.tar.gz
freebsd-ports-gnome-93fa027a0fbbf44701f56aeb4b8aa8af03f0a779.tar.zst
freebsd-ports-gnome-93fa027a0fbbf44701f56aeb4b8aa8af03f0a779.zip
Strip the binaries.
Diffstat (limited to 'lang/gcc42/Makefile')
-rw-r--r--lang/gcc42/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 0ee724d89ded..335f43bc237b 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -3,7 +3,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/01/10 21:40:09 jdp Exp $
+# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
#
DISTNAME= egcs-1.0.1
@@ -19,7 +19,18 @@ USE_GMAKE= yes
CONFIGURE_ARGS= i386-unknown-freebsd
MAN1= cccp.1 g++.1 g77.1 gcc.1
+FME=${PREFIX}
+
post-install:
+ @(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ ${PREFIX}/bin/c++ \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1 \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1obj \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1plus \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cpp \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/f771 \
+ ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/ld ; \
+ do strip $$prog ; \
+ done)
if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi