diff options
author | johans <johans@FreeBSD.org> | 2008-04-11 22:32:59 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2008-04-11 22:32:59 +0800 |
commit | 13196be76ad8ff88ee71f24bf58fd9dbefec1dc4 (patch) | |
tree | b500f143931a757ae4695922f28abb7a45b33616 /security/libecc | |
parent | c4dda0dd97380641051c356717a805654ec506cd (diff) | |
download | freebsd-ports-gnome-13196be76ad8ff88ee71f24bf58fd9dbefec1dc4.tar.gz freebsd-ports-gnome-13196be76ad8ff88ee71f24bf58fd9dbefec1dc4.tar.zst freebsd-ports-gnome-13196be76ad8ff88ee71f24bf58fd9dbefec1dc4.zip |
- Update to 0.12.0; fixes build on 64-bit systems
- Remove unneeded patches
- Remove check for old FreeBSD versions
- Grab maintainership
Diffstat (limited to 'security/libecc')
-rw-r--r-- | security/libecc/Makefile | 18 | ||||
-rw-r--r-- | security/libecc/distinfo | 6 | ||||
-rw-r--r-- | security/libecc/files/patch-include_libecc_Makefile.in | 11 | ||||
-rw-r--r-- | security/libecc/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | security/libecc/pkg-plist | 4 |
5 files changed, 10 insertions, 44 deletions
diff --git a/security/libecc/Makefile b/security/libecc/Makefile index 47c1b220d77d..c0aa6e0860f7 100644 --- a/security/libecc/Makefile +++ b/security/libecc/Makefile @@ -7,12 +7,12 @@ # PORTNAME= libecc -PORTVERSION= 0.11.1 +PORTVERSION= 0.12.0 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= C++ Elliptic Curve Library LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 @@ -24,15 +24,7 @@ USE_LDCONFIG= yes CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \ CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include" -.include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} 's@endian\.h@sys/&@' ${WRKSRC}/include/libecc/bitset.h -.if ${ARCH} != "i386" -BROKEN= Does not compile on !i386 -.endif - -.if ${OSVERSION} < 501103 -# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3 -MAKE_ENV+= CC="${CC}" CXX="${CXX}" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/libecc/distinfo b/security/libecc/distinfo index 044233138a6e..f42c618c9b09 100644 --- a/security/libecc/distinfo +++ b/security/libecc/distinfo @@ -1,3 +1,3 @@ -MD5 (libecc-0.11.1.tar.gz) = cf84ad882eadc2de4fdad7902b16a4ab -SHA256 (libecc-0.11.1.tar.gz) = 41da1e57302d3c0bde3295181230fbe79a986898c449c2f493f99ff15dd7868c -SIZE (libecc-0.11.1.tar.gz) = 1577039 +MD5 (libecc-0.12.0.tar.gz) = 6bdeeba52bdc3c4e941f0d63766499ae +SHA256 (libecc-0.12.0.tar.gz) = a895e1c2b3daaaec921e5ade4067c5ec16bb2737ca6341ed7c75e6ee3bb82982 +SIZE (libecc-0.12.0.tar.gz) = 2059393 diff --git a/security/libecc/files/patch-include_libecc_Makefile.in b/security/libecc/files/patch-include_libecc_Makefile.in deleted file mode 100644 index fed79eb49d0c..000000000000 --- a/security/libecc/files/patch-include_libecc_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- include/libecc/Makefile.in.orig Mon Jul 4 01:05:30 2005 -+++ include/libecc/Makefile.in Mon Jul 4 01:06:20 2005 -@@ -206,7 +206,7 @@ - polynomial.h \ - square.hcc \ - fieldmath.h -- -+EXTRA_HEADERS = $(libecc_HEADERS) - - # point.h - diff --git a/security/libecc/files/patch-ltmain.sh b/security/libecc/files/patch-ltmain.sh deleted file mode 100644 index 1862c1d4c669..000000000000 --- a/security/libecc/files/patch-ltmain.sh +++ /dev/null @@ -1,15 +0,0 @@ ---- ltmain.sh.orig Fri Sep 27 08:33:23 2002 -+++ ltmain.sh Wed Oct 30 00:58:58 2002 -@@ -4210,10 +4211,12 @@ - fi - - # Install the pseudo-library for information purposes. -+ if /usr/bin/false; then - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? -+ fi - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/security/libecc/pkg-plist b/security/libecc/pkg-plist index 4a3360888a30..635388ab96b1 100644 --- a/security/libecc/pkg-plist +++ b/security/libecc/pkg-plist @@ -7,6 +7,6 @@ include/libecc/rds.h include/libecc/sha.h include/libecc/square.hcc lib/libecc.so -lib/libecc.so.11 - +lib/libecc.so.1 +lib/libecc.la @dirrm include/libecc |