mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
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= 7
|
|
CATEGORIES= devel
|
|
BIN_DISTNAMES= binutils-2.20.51.0.2-5.47.el6_9.1 \
|
|
glibc-headers-2.12-1.209.el6_9.2 \
|
|
kernel-headers-2.6.32-696.23.1.el6 \
|
|
mpfr-2.4.1-6.el6 \
|
|
cpp-4.4.7-18.el6_9.2 \
|
|
gcc-4.4.7-18.el6_9.2 \
|
|
gcc-c++-4.4.7-18.el6_9.2 \
|
|
gcc-gfortran-4.4.7-18.el6_9.2
|
|
LIB_DISTNAMES= binutils-devel-2.20.51.0.2-5.47.el6_9.1 \
|
|
glibc-devel-2.12-1.209.el6_9.1 \
|
|
libstdc++-devel-4.4.7-18.el6_9.2 \
|
|
libgomp-4.4.7-18.el6_9.2
|
|
SRC_DISTFILES= binutils-2.20.51.0.2-5.47.el6_9.1${SRC_SUFX}:SOURCE \
|
|
glibc-2.12-1.209.el6_9.2${SRC_SUFX}:SOURCE \
|
|
kernel-2.6.32-696.23.1.el6${SRC_SUFX}:SOURCE \
|
|
mpfr-2.4.1-6.el6${SRC_SUFX}:SOURCE \
|
|
gcc-4.4.7-18.el6_9.2${SRC_SUFX}:SOURCE
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if ${LINUX_ARCH} == x86_64
|
|
${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.post.mk>
|