1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build on gcc-based architectures:

//usr/local/lib/libgraphite2.so.3: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

While here, pet portlint.
This commit is contained in:
Mark Linimon 2019-03-13 05:09:02 +00:00
parent c183d78b38
commit 2a08c8fce6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495551

View File

@ -6,7 +6,7 @@ PORTVERSION= 1.7.20050716
PORTREVISION= 8
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
PKGNAMESUFFIX= -devel
DISTNAME= ct17a15
MAINTAINER= ports@FreeBSD.org
@ -15,13 +15,12 @@ COMMENT= Drawing organic molecules easily and store them (developer version)
LIB_DEPENDS= libEMF.so:graphics/libemf
RUN_DEPENDS= transfig:print/transfig
USES= compiler:c++11-lang gettext gmake pkgconfig tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/
USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig tar:tgz
CONFIGURE_ARGS= --enable-emf=yes
PKGNAMESUFFIX= -devel
MAKE_ARGS+= MAKE=${MAKE_CMD}
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF