aboutsummaryrefslogtreecommitdiff
path: root/security/nettle2
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:42:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:42:08 +0000
commitfd774fa7f8aa394e399ede35f3953fb4093a9f0e (patch)
tree5907dcb6942f94ff1eba43ab04a2d0b995ae5969 /security/nettle2
parent62514b2daa00a91070efd78f093eb2b73d48e350 (diff)
downloadports-fd774fa7f8aa394e399ede35f3953fb4093a9f0e.tar.gz
ports-fd774fa7f8aa394e399ede35f3953fb4093a9f0e.zip
- Support CFLAGS/CXXFLAGS properly
- Pass "--no-split" flag to makeinfo PR: 42896 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=66801
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