forked from Lainports/freebsd-ports
infrastructure ports (linux_base-c6 and linux-c6*) install i386 CentOS 6 packages. Using c6_64 instead of c6 made them install mixed amd64/i386 CentOS 6 packages and allowed Linux application ports to install amd64 binaries when available. The i386-only configuration was only useful for users of x11/nvidia-driver* which didn't provide Linux amd64 emulation until recently. With x11/nvidia-driver* now supporting Linux amd64 there's no longer a need for i386-only Linux on amd64. Let DEFAULT_VERSIONS+=linux=c6 make Linux infrastructure ports install mixed amd64/i386 CentOS 6 packages, like c6_64 before, and remove support for c6_64 as a value. Replace LINUX_ARCH with ARCH everywhere because they are always the same now.
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# Created by: Johannes Meixner <johannes@perceivon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= devtools
|
|
PORTVERSION= ${LINUX_DIST_VER}
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= emulation@FreeBSD.org
|
|
COMMENT= Linux compilers and base libraries (CentOS ${LINUX_DIST_VER})
|
|
|
|
# LICENSE= Various GNU
|
|
|
|
USES= linux:c6
|
|
USE_LDCONFIG= yes
|
|
USE_LINUX= libgfortran
|
|
USE_LINUX_RPM= yes
|
|
|
|
BIN_DISTNAMES= binutils-2.20.51.0.2-5.48.el6_10.1 \
|
|
glibc-headers-2.12-1.212.el6_10.3 \
|
|
kernel-headers-2.6.32-754.17.1.el6 \
|
|
mpfr-2.4.1-6.el6 \
|
|
cpp-4.4.7-23.el6 \
|
|
gcc-4.4.7-23.el6 \
|
|
gcc-c++-4.4.7-23.el6 \
|
|
gcc-gfortran-4.4.7-23.el6
|
|
LIB_DISTNAMES= binutils-devel-2.20.51.0.2-5.48.el6_10.1 \
|
|
glibc-devel-2.12-1.212.el6_10.3 \
|
|
libstdc++-devel-4.4.7-23.el6 \
|
|
libgomp-4.4.7-23.el6
|
|
SRC_DISTFILES= binutils-2.20.51.0.2-5.48.el6_10.1${SRC_SUFX}:SOURCE \
|
|
glibc-2.12-1.212.el6_10.3${SRC_SUFX}:SOURCE \
|
|
kernel-2.6.32-754.17.1.el6${SRC_SUFX}:SOURCE \
|
|
mpfr-2.4.1-6.el6${SRC_SUFX}:SOURCE \
|
|
gcc-4.4.7-23.el6${SRC_SUFX}:SOURCE
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${ARCH} == amd64
|
|
${LN} -sfh ../../../../lib64/libgcc_s.so.1 \
|
|
${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc_s.so
|
|
|
|
${LN} -sfh ../../../../libgcc_s.so.1 \
|
|
${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so
|
|
.else
|
|
${LN} -sfh ../../../libgcc_s.so.1 \
|
|
${STAGEDIR}${PREFIX}/usr/lib/gcc/i686-redhat-linux/4.4.4/libgcc_s.so
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|