89f8b05214
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# Created by: Max Khon <fjoe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cint
|
|
PORTVERSION= 5.18.00
|
|
PORTREVISION= 3
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://root.cern.ch/drupal/sites/default/files/
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= C/C++ interpreter
|
|
|
|
BROKEN_powerpc64= does not build
|
|
BROKEN_FreeBSD_9= does not build (sigsegv during build)
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV= CC="${CC}" CXX="${CXX}" LDFLAGS="${LDFLAGS}"
|
|
USE_GCC= yes
|
|
USES= gmake readline tar:tgz
|
|
USE_LDCONFIG= ${PREFIX}/lib/cint
|
|
ALL_TARGET=
|
|
|
|
INSTALL_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin\
|
|
--libdir=${STAGEDIR}${PREFIX}/lib/cint\
|
|
--mandir=${STAGEDIR}${PREFIX}/man\
|
|
--docdir=${STAGEDIR}${DOCSDIR}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' ${WRKSRC}/cint/lib/dll_stl/setup
|
|
${REINPLACE_CMD} 's,make ,${GMAKE} ,' ${WRKSRC}/cint/lib/*/setup
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/bash configure __have_the_proper_shell@
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/bash tool/INSTALLBIN ${INSTALL_ARGS}
|
|
|
|
.include <bsd.port.mk>
|