summaryrefslogtreecommitdiff
path: root/net/nc6
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-08-27 08:52:20 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-08-27 08:52:20 +0000
commit9365f5c298657ad073cc97b628fff66821e867cb (patch)
tree9c8f8f743145941e4280a74d3a093608daec79ce /net/nc6
parent- update amavisd-new to 20030616.p5. (diff)
teach configure where to find libintl and libiconv.
respect CFLAGS. get rid of package name from comment.
Notes
Notes: svn path=/head/; revision=87775
Diffstat (limited to 'net/nc6')
-rw-r--r--net/nc6/Makefile10
-rw-r--r--net/nc6/files/patch-aa29
2 files changed, 14 insertions, 25 deletions
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index 259f587661fd..66b0b9ffe96c 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -13,17 +13,15 @@ MASTER_SITES= ftp://ftp.deepspace6.net/pub/sources/nc6/ \
http://ftp.deepspace6.net/pub/sources/nc6/
MAINTAINER= filippo@widestore.net
-COMMENT= Netcat 6 is a netcat clone with IPv6 support
+COMMENT= Netcat clone with IPv6 support
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
- intl.5:${PORTSDIR}/devel/gettext
+ intl.5:${PORTSDIR}/devel/gettext
MAN1= nc6.1
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
- CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="${CC}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/net/nc6/files/patch-aa b/net/nc6/files/patch-aa
index 72e7180a57a6..458fd9f6780e 100644
--- a/net/nc6/files/patch-aa
+++ b/net/nc6/files/patch-aa
@@ -1,19 +1,10 @@
-*** configure Sun May 11 14:30:20 2003
---- files/configure Wed Jun 4 16:07:13 2003
-***************
-*** 9534,9540 ****
- #define NDEBUG 1
- _ACEOF
-
-! CFLAGS="-O2"
- if test "X$GCC" = "Xyes"; then
- NC6_CFLAGS="${NC6_CFLAGS} -finline-functions"
- fi
---- 9534,9540 ----
- #define NDEBUG 1
- _ACEOF
-
-! CFLAGS="${CFLAGS} -O2"
- if test "X$GCC" = "Xyes"; then
- NC6_CFLAGS="${NC6_CFLAGS} -finline-functions"
- fi
+--- configure.orig Sun May 11 21:30:20 2003
++++ configure Wed Aug 27 17:45:55 2003
+@@ -9534,7 +9534,6 @@
+ #define NDEBUG 1
+ _ACEOF
+
+- CFLAGS="-O2"
+ if test "X$GCC" = "Xyes"; then
+ NC6_CFLAGS="${NC6_CFLAGS} -finline-functions"
+ fi