svn commit: r365185 - head/math/cln
Tijl Coosemans
tijl at FreeBSD.org
Sun Aug 17 13:15:19 UTC 2014
Author: tijl
Date: Sun Aug 17 13:15:18 2014
New Revision: 365185
URL: http://svnweb.freebsd.org/changeset/ports/365185
QAT: https://qat.redports.org/buildarchive/r365185/
Log:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Remove -fPIC
- Use BROKEN_sparc64
- Remove old post-patch and pre-build targets
Modified:
head/math/cln/Makefile
head/math/cln/pkg-plist
Modified: head/math/cln/Makefile
==============================================================================
--- head/math/cln/Makefile Sun Aug 17 13:12:39 2014 (r365184)
+++ head/math/cln/Makefile Sun Aug 17 13:15:18 2014 (r365185)
@@ -3,6 +3,7 @@
PORTNAME= cln
PORTVERSION= 1.3.2
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= http://www.ginac.de/CLN/ \
http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/ \
@@ -13,32 +14,14 @@ COMMENT= Class Library for Numbers
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-USE_AUTOTOOLS= libtool
-USES= gmake pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gmp
+CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
+INSTALL_TARGET= install-strip
+USES= gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
INFO= cln
-STRIP= # none
+BROKEN_sparc64= Does not compile on sparc64
-CFLAGS+= -fPIC
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
-post-patch:
- @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in
-
-pre-build:
-.if exists(${LOCALBASE}/lib/libcln.so.3)
-BROKEN= Does not compile when older version is installed. Please pkg_delete old cln first
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/math/cln/pkg-plist
==============================================================================
--- head/math/cln/pkg-plist Sun Aug 17 13:12:39 2014 (r365184)
+++ head/math/cln/pkg-plist Sun Aug 17 13:15:18 2014 (r365185)
@@ -78,9 +78,9 @@ include/cln/univpoly_rational.h
include/cln/univpoly_real.h
include/cln/version.h
lib/libcln.a
-lib/libcln.la
lib/libcln.so
lib/libcln.so.6
+lib/libcln.so.6.0.2
libdata/pkgconfig/cln.pc
man/man1/pi.1.gz
@dirrm include/cln
More information about the svn-ports-all
mailing list