diff options
Diffstat (limited to 'math/cln/Makefile')
-rw-r--r-- | math/cln/Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/math/cln/Makefile b/math/cln/Makefile index 899ae2d6da32..f0ea10b34199 100644 --- a/math/cln/Makefile +++ b/math/cln/Makefile @@ -8,6 +8,7 @@ PORTNAME= cln PORTVERSION= 1.1.5 +PORTREVISION= 1 CATEGORIES= math devel MASTER_SITES= ftp://ftp.ilog.fr/pub/Users/haible/gnu/ \ ftp://ftp.santafe.edu/pub/gnu/ \ @@ -18,20 +19,31 @@ COMMENT= Class Library for Numbers LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 -STRIP= # none - USE_GMAKE= yes USE_LIBTOOL= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${PREFIX}/man \ --with-gmp -MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes MAN1= cln-config.1 +INFO= cln + +STRIP= # none + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CPPFLAGS+= -I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS} +LDFLAGS+= -lstlport_gcc ${PTHREAD_LIBS} +.endif post-install: .if !defined(NOPORTDOCS) @@ -41,4 +53,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |