1998-03-05 03:37:26 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: GNU libstdc++
|
1998-11-10 16:33:08 +00:00
|
|
|
# Version required: 2.8.1.1
|
1998-03-05 03:37:26 +00:00
|
|
|
# Date created: 03 Mar 1998
|
|
|
|
# Whom: David O'Brien <obrien@NUXI.com>
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1998-03-05 03:37:26 +00:00
|
|
|
#
|
|
|
|
|
1998-04-20 10:36:06 +00:00
|
|
|
DISTNAME= libstdc++-2.8.1.1
|
|
|
|
PKGNAME= glibstdc++-2.8.1.1
|
1998-03-05 03:37:26 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= libstdc++
|
1998-03-05 03:37:26 +00:00
|
|
|
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
|
|
|
|
g++28:${PORTSDIR}/lang/gcc28
|
1998-04-20 10:36:06 +00:00
|
|
|
RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
|
|
|
|
g++28:${PORTSDIR}/lang/gcc28
|
1998-03-05 03:37:26 +00:00
|
|
|
|
1999-09-04 20:34:13 +00:00
|
|
|
NO_CDROM= 'old version, not worth the cost in real estate'
|
|
|
|
|
|
|
|
Y2K= http://www.gnu.org/software/year2000.html
|
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-03-05 03:37:26 +00:00
|
|
|
CC= gcc28
|
|
|
|
CXX= g++28
|
1998-11-11 05:37:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
1999-03-31 10:42:21 +00:00
|
|
|
CONFIGURE_TARGET= i386-portbld-freebsd${OSREL}
|
1999-02-09 18:59:11 +00:00
|
|
|
.else
|
1999-03-31 10:42:21 +00:00
|
|
|
CONFIGURE_TARGET= i386-portbld-freebsdaout${OSREL}
|
1998-11-10 16:33:08 +00:00
|
|
|
.endif
|
1999-03-31 10:42:21 +00:00
|
|
|
GCC28DIR= lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1
|
1998-03-05 03:37:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
1999-03-31 10:42:21 +00:00
|
|
|
PLIST_SUB= GCC28SUBDIR=${GCC28DIR} GNUHOST=${CONFIGURE_TARGET}
|
1998-10-12 15:04:35 +00:00
|
|
|
|
1998-08-17 17:03:31 +00:00
|
|
|
pre-install:
|
|
|
|
@# allow a boched ``make install'' to be re-tried
|
|
|
|
@${RM} -rf ${PREFIX}/include/g++
|
|
|
|
@${MKDIR} ${PREFIX}/include/g++
|
|
|
|
|
1998-03-05 03:37:26 +00:00
|
|
|
post-install:
|
1998-04-20 10:36:06 +00:00
|
|
|
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/include/g++ \
|
1998-08-13 17:49:15 +00:00
|
|
|
${PREFIX}/${GCC28DIR}/include
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/lib/libiberty.a \
|
1998-04-20 10:36:06 +00:00
|
|
|
${PREFIX}/${GCC28DIR}
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/lib/libstdc++.a \
|
1998-04-20 10:36:06 +00:00
|
|
|
${PREFIX}/${GCC28DIR}
|
1998-08-15 22:22:33 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/osfcn.h \
|
1998-08-17 02:03:20 +00:00
|
|
|
${PREFIX}/${GCC28DIR}/include/g++
|
1998-03-05 03:37:26 +00:00
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|