aboutsummaryrefslogtreecommitdiffstats
path: root/security/nettle2
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-20 14:42:08 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-20 14:42:08 +0800
commitbfaf0a08e1700b063009c2e3e553179896da01c9 (patch)
treedd2ca3e532a48bcc3e27e019c464347adb2f06c8 /security/nettle2
parent1b326f3ac4d80e51f3e3de07da88da37b55af29d (diff)
downloadfreebsd-ports-gnome-bfaf0a08e1700b063009c2e3e553179896da01c9.tar.gz
freebsd-ports-gnome-bfaf0a08e1700b063009c2e3e553179896da01c9.tar.zst
freebsd-ports-gnome-bfaf0a08e1700b063009c2e3e553179896da01c9.zip
- Support CFLAGS/CXXFLAGS properly
- Pass "--no-split" flag to makeinfo PR: 42896 Submitted by: Ports Fury
Diffstat (limited to 'security/nettle2')
-rw-r--r--security/nettle2/Makefile14
-rw-r--r--security/nettle2/pkg-plist4
2 files changed, 10 insertions, 8 deletions
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile
index e6c13bb931da..6029d5fe2048 100644
--- a/security/nettle2/Makefile
+++ b/security/nettle2/Makefile
@@ -8,7 +8,7 @@
PORTNAME= nettle
PORTVERSION= 1.5
-PORTREVISIOIN= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/
@@ -17,10 +17,14 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ MAKEINFO="makeinfo --no-split"
+
+post-extract:
+ @${RM} -f ${WRKSRC}/nettle.info*
.include <bsd.port.mk>
diff --git a/security/nettle2/pkg-plist b/security/nettle2/pkg-plist
index 2a954351b6e1..3c9561c8b36c 100644
--- a/security/nettle2/pkg-plist
+++ b/security/nettle2/pkg-plist
@@ -1,10 +1,8 @@
include/nettle/aes.h
include/nettle/arcfour.h
include/nettle/blowfish.h
-@dirrm include/nettle
@unexec install-info --delete %D/info/nettle.info %D/info/dir
info/nettle.info
-info/nettle.info-1
-info/nettle.info-2
@exec install-info %D/info/nettle.info %D/info/dir
lib/libnettle.a
+@dirrm include/nettle