1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/lang/glibstdc++28/Makefile
Satoshi Asami 48887e4ba8 Make these ports (TenDRA, egcs, gcc28, glibstdc++28 and guavac, all
under lang) use ${OSREL} as defined in bsd.port.mk rev 1.281 and
1.227.2.43.

Note gcc28 is hopelessly broken, it uses an undefined variable
${GNUOSREL} and thus has an empty string wherever ${OSREL} should
be.  However, it's consistent with its own PLIST at the current state
so I haven't "fixed" it yet.
1998-08-07 22:49:31 +00:00

44 lines
1.0 KiB
Makefile

# 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.3 1998/04/20 10:36:05 obrien Exp $
#
DISTNAME= libstdc++-2.8.1.1
PKGNAME= glibstdc++-2.8.1.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28
RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28
CC= gcc28
CXX= g++28
GCC28DIR= lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1
GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST= ${WRKDIR}/PLIST.fixedup
pre-install:
${SED} -e 's:%%GNUOSREL%%:${OSREL}:' \
-e 's:%%GCC28SUBDIR%%:${GCC28DIR}:' \
${PKGDIR}/PLIST > ${PLIST}
post-install:
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
${MV} ${PREFIX}/include/g++ \
${PREFIX}/${GCC28DIR}//include
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/${GCC28DIR}
${MV} ${PREFIX}/lib/libstdc++.a \
${PREFIX}/${GCC28DIR}
.include <bsd.port.mk>