aboutsummaryrefslogtreecommitdiff
path: root/lang/glibstdc++28/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-04-20 10:36:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-04-20 10:36:06 +0000
commit488c01391b5b3a099074647b29914f1e8854034c (patch)
tree428eccf1760e173a4bd8c3efaf01754179a5793d /lang/glibstdc++28/Makefile
parent3f3f1286dc021dffb38d049567a0b43c4e463d4f (diff)
downloadports-488c01391b5b3a099074647b29914f1e8854034c.tar.gz
ports-488c01391b5b3a099074647b29914f1e8854034c.zip
Notes
Diffstat (limited to 'lang/glibstdc++28/Makefile')
-rw-r--r--lang/glibstdc++28/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile
index 8d97986589bb..0e1a66aaab30 100644
--- a/lang/glibstdc++28/Makefile
+++ b/lang/glibstdc++28/Makefile
@@ -4,11 +4,11 @@
# Date created: 03 Mar 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/03/05 03:37:26 obrien Exp $
+# $Id: Makefile,v 1.2 1998/03/11 12:25:31 obrien Exp $
#
-DISTNAME= libstdc++-2.8.1
-PKGNAME= glibstdc++-2.8.1
+DISTNAME= libstdc++-2.8.1.1
+PKGNAME= glibstdc++-2.8.1.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
@@ -16,26 +16,29 @@ MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
+ g++28:${PORTSDIR}/lang/gcc28
CC= gcc28
CXX= g++28
GNUOSREL!= uname -r | sed -e 's/[-(].*//'
+GCC28DIR= lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.1
GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST= ${WRKDIR}/PLIST.fixedup
pre-install:
- ${SED} -e 's:%GNUOSREL%:${GNUOSREL}:' ${PKGDIR}/PLIST \
- > ${PLIST}
+ ${SED} -e 's:%%GNUOSREL%%:${GNUOSREL}:' \
+ -e 's:%%GCC28SUBDIR%%:${GCC28DIR}:' \
+ ${PKGDIR}/PLIST > ${PLIST}
post-install:
- ${RM} -rf ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.1/include/g++
+ ${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
${MV} ${PREFIX}/include/g++ \
- ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.1/include
+ ${PREFIX}/${GCC28DIR}//include
${MV} ${PREFIX}/lib/libiberty.a \
- ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.1
+ ${PREFIX}/${GCC28DIR}
${MV} ${PREFIX}/lib/libstdc++.a \
- ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.1
+ ${PREFIX}/${GCC28DIR}
.include <bsd.port.mk>