diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-03-05 03:37:26 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-03-05 03:37:26 +0000 |
commit | ef3a12e75294a801e6bd78ed02b313668147c012 (patch) | |
tree | d68afe674d2afc9ccad7b4b9d0c51de6c767f862 /lang/glibstdc++28/Makefile | |
parent | be friendly, share glibstd++28 with the world. (diff) |
Standard C++ library to match G++ 2.8.x.
Notes
Notes:
svn path=/head/; revision=10046
Diffstat (limited to '')
-rw-r--r-- | lang/glibstdc++28/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile new file mode 100644 index 000000000000..4feabcca5415 --- /dev/null +++ b/lang/glibstdc++28/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: GNU libstdc++ +# Version required: 2.8.0 +# Date created: 03 Mar 1998 +# Whom: David O'Brien <obrien@NUXI.com> +# +# $Id: Makefile,v 1.1.1.1 1998/03/05 03:32:42 obrien Exp $ +# + +DISTNAME= libstdc++-2.8.0 +PKGNAME= glibstdc++-2.8.0 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_GNU} + +MAINTAINER= obrien@FreeBSD.org + +BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \ + g++28:${PORTSDIR}/lang/gcc28 +RUN_DEPENDS= ${BUILD_DEPENDS} + +CC= gcc28 +CXX= g++28 +GNUOSREL!= uname -r | sed -e 's/[-(].*//' +GNU_CONFIGURE= yes +USE_GMAKE= yes +PLIST= ${WRKDIR}/PLIST.fixedup + +pre-install: + ${SED} -e 's:%GNUOSREL%:${GNUOSREL}:' ${PKGDIR}/PLIST \ + > ${PLIST} + +post-install: + ${RM} -rf ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.0/include/g++ + ${MV} ${PREFIX}/include/g++ \ + ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.0/include + ${MV} ${PREFIX}/lib/libiberty.a \ + ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.0 + ${MV} ${PREFIX}/lib/libstdc++.a \ + ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${GNUOSREL}/2.8.0 + +.include <bsd.port.mk> |