Files
ports/math/lrslib/Makefile
T
Piotr Kubaj 568f6ed2d4 math/lrslib: fix build on GCC architectures
Use C11 compiler:
lrslong.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_mp'
lrslong.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
lrslong.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
lrslong.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
lrslong.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_t'
lrslong.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_vector'
2020-09-23 15:49:10 +00:00

34 lines
708 B
Makefile

# $FreeBSD$
PORTNAME= lrslib
DISTVERSION= 071
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reverse search algorithm for vertex enumeration/convex hull problems
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_i386= error: __int128 is not supported on this target
LIB_DEPENDS= libgmp.so:math/gmp
USES= compiler:c11 gmake libtool localbase:ldflags
USE_LDCONFIG= yes
MAKEFILE= makefile
ALL_TARGET= all-shared
MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE}/lib
LDFLAGS+= -lthr
post-install:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so
.include <bsd.port.mk>