summaryrefslogtreecommitdiff
path: root/net/nc6
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-04 17:11:21 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-04 17:11:21 +0000
commit8134a192210347e9f9e1174feb05b1ac66f4c277 (patch)
treee47727a37fdbf02cca974f8a4a4802bb6d6a0dbb /net/nc6
parento DEFAULT_PATH used by --suexec-safepath changed to APACHE_SUEXEC_SAFEPATH (diff)
Upgrade to 0.5
PR: 52938 Submitted by: Filippo Natali <filippo@widestore.net>
Notes
Notes: svn path=/head/; revision=82272
Diffstat (limited to 'net/nc6')
-rw-r--r--net/nc6/Makefile12
-rw-r--r--net/nc6/distinfo2
-rw-r--r--net/nc6/files/patch-aa19
3 files changed, 30 insertions, 3 deletions
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index 19c2535df094..9eebfc122830 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nc6
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.deepspace6.net/pub/sources/nc6/ \
http://ftp.deepspace6.net/pub/sources/nc6/
@@ -14,7 +14,15 @@ MASTER_SITES= ftp://ftp.deepspace6.net/pub/sources/nc6/ \
MAINTAINER= filippo@widestore.net
COMMENT= Netcat 6 is a netcat clone with IPv6 support
-MAN1= nc6.1
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
+ intl.4:${PORTSDIR}/devel/gettext
+
+MAN1= nc6.1
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="${CC}"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/net/nc6/distinfo b/net/nc6/distinfo
index 3fb27632ed22..d799d11508ec 100644
--- a/net/nc6/distinfo
+++ b/net/nc6/distinfo
@@ -1 +1 @@
-MD5 (nc6-0.4.tar.gz) = 8ec002d2c512d8f93c125c252c75e43b
+MD5 (nc6-0.5.tar.gz) = 7682a3c3f30ec72aed8f93c0f8633a40
diff --git a/net/nc6/files/patch-aa b/net/nc6/files/patch-aa
new file mode 100644
index 000000000000..72e7180a57a6
--- /dev/null
+++ b/net/nc6/files/patch-aa
@@ -0,0 +1,19 @@
+*** 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