From 77c8d5230f81b567a83c32dd5c3d5d39b327790f Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 24 Apr 2019 19:35:06 +0000 Subject: Fix on head by setting LLD_UNSAFE: ld: error: /usr/lib/libpmc.so: undefined reference to std::__1::__basic_string_common::__throw_length_error() const ld: error: /usr/lib/libpmc.so: undefined reference to std::__1::basic_string, std::__1::allocator >::append(char const*, unsigned long) cc: error: linker command failed with exit code 1 (use -v to see invocation) Since I'm here, add USES=gl. --- science/medit/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'science') diff --git a/science/medit/Makefile b/science/medit/Makefile index ccbdbbd3e588..47861d04abd7 100644 --- a/science/medit/Makefile +++ b/science/medit/Makefile @@ -21,12 +21,13 @@ BUILD_DEPENDS= ${LOCALBASE}/include/cfortran.h:lang/cfortran USE_XORG= x11 xmu xext USE_GL= glut -USES= gmake tar:tgz +USES= gl gmake tar:tgz MAKEFILE= makefile ALL_TARGET= ${OPSYS} MAKE_ENV= WRKSRC="${WRKSRC}" ARCHI=${OPSYS} ARCH=${ARCH} OSREL=${OSREL} NO_WRKSUBDIR= yes MAKE_JOBS_UNSAFE= yes +LLD_UNSAFE= yes LIBVERSION= ${PORTVERSION} SOURCETARB= ${PORTNAME}.${PORTVERSION}${EXTRACT_SUFX} -- cgit v1.2.3