diff options
author | krion <krion@FreeBSD.org> | 2003-10-11 01:52:21 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-10-11 01:52:21 +0800 |
commit | ce2629130289e7a90ece6e9f281bdd05cec8d7f2 (patch) | |
tree | e14e3708692b7c2d3110f6fc4e3ff9cc4ffb9e11 /math/cln/Makefile | |
parent | 4a22ec7c43052657f278bec8336e299b0187656b (diff) | |
download | freebsd-ports-ce2629130289e7a90ece6e9f281bdd05cec8d7f2.tar.gz freebsd-ports-ce2629130289e7a90ece6e9f281bdd05cec8d7f2.tar.zst freebsd-ports-ce2629130289e7a90ece6e9f281bdd05cec8d7f2.zip |
- Add dependency for devel/stlport on 4-stable
(to build math/GiNaC properly)
- Utilize INFO
PR: 57834
Submitted by: Ports Fury
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> |