aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc34/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-21 23:50:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-21 23:50:36 +0000
commit7450726d85884dd07d46494cb46df3437cb97680 (patch)
tree4a1f72c15a0668d5eb947b7090f651baf765bf4a /lang/gcc34/Makefile
parent2eab1042421ce63e3a3dcf5b7eb54ef3b5145e60 (diff)
downloadports-7450726d85884dd07d46494cb46df3437cb97680.tar.gz
ports-7450726d85884dd07d46494cb46df3437cb97680.zip
Notes
Diffstat (limited to 'lang/gcc34/Makefile')
-rw-r--r--lang/gcc34/Makefile52
1 files changed, 24 insertions, 28 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index f8b250bad0ee..4c8bdcaf7969 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-SNAPDATE= 2000-12-11
+SNAPDATE= 2000-12-18
SNAPVER= ${SNAPDATE:S/-//g}
PORTNAME= gcc-devel
@@ -28,14 +28,6 @@ MAINTAINER= obrien@FreeBSD.org
NO_CDROM= 'dated material'
-##WRKSRC= ${WRKDIR}/gcc-${SNAPVER}
-##CONFIGURE_WRKSRC= ${WRKDIR}/build
-##BUILD_WRKSRC= ${WRKDIR}/build
-##INSTALL_WRKSRC= ${WRKDIR}/build
-##CONFIGURE_SCRIPT= ${WRKSRC}/configure
-EGCS_REV= 2.97
-SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
-WRKSRC= ${WRKDIR}/build
PATCH_ARGS= -d ${SRCDIR} -E ${PATCH_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_ARGS+= --forward --quiet
@@ -50,6 +42,15 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
+##WRKSRC= ${WRKDIR}/gcc-${SNAPVER}
+##CONFIGURE_WRKSRC= ${WRKDIR}/build
+##BUILD_WRKSRC= ${WRKDIR}/build
+##INSTALL_WRKSRC= ${WRKDIR}/build
+##CONFIGURE_SCRIPT= ${WRKSRC}/configure
+EGCS_REV= 2.97
+SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
+WRKSRC= ${WRKDIR}/build
+TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET} \
SNAPVER=${SNAPVER}
GNU_CONFIGURE= yes
@@ -104,35 +105,30 @@ post-install:
do \
strip $$prog ; \
done )
- ${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/ggcc
- ${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/gg++
- ${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/gg77
- ${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/gg++filt
- ${MV} ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
+ ${MV} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/ggcc
+ ${MV} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/gg++
+ ${MV} -f ${PREFIX}/bin/g77 ${PREFIX}/bin/gg77
+ ${MV} -f ${PREFIX}/bin/g++filt ${PREFIX}/bin/gg++filt
+ ${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
${RM} -f ${PREFIX}/bin/${GNU_HOST}-c++
${RM} -f ${PREFIX}/bin/cpp
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} ${PREFIX}/lib/libiberty.a \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} -f ${PREFIX}/lib/libstdc++.a \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} -f ${PREFIX}/lib/libzgcj.* \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/ggcc.1
- ${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/gg++.1
- ${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/gg77.1
- ${MV} ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/gcpp.1
+ ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
+ ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${MV} -f ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/ggcc.1
+ ${MV} -f ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/gg++.1
+ ${MV} -f ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/gg77.1
+ ${MV} -f ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/gcpp.1
.if defined(WANT_SHAREDLIBS)
- ${MV} -f ${PREFIX}/lib/libstdc++.so* \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
+ ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
.endif
.for info in cpp g77 gcc
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
cd ${PREFIX} ;\
- find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
- -type f -o -type l >${WRKDIR}/PLIST.gcc-lib
+ find ${TARGLIB} -type f -o -type l >${WRKDIR}/PLIST.gcc-lib
${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO} "d" >> ${WRKDIR}/ex.script