aboutsummaryrefslogtreecommitdiffstats
path: root/net/nc6
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-06-05 01:11:21 +0800
committerleeym <leeym@FreeBSD.org>2003-06-05 01:11:21 +0800
commitc50ff4ba2f0e69eb72b12d0188f9f4a95255881f (patch)
tree955cf6bd30e89ccc0d5d840ac9e138e58c26a4ef /net/nc6
parent183a70a6d005a9c27a8367064485e1ee47362908 (diff)
downloadfreebsd-ports-gnome-c50ff4ba2f0e69eb72b12d0188f9f4a95255881f.tar.gz
freebsd-ports-gnome-c50ff4ba2f0e69eb72b12d0188f9f4a95255881f.tar.zst
freebsd-ports-gnome-c50ff4ba2f0e69eb72b12d0188f9f4a95255881f.zip
Upgrade to 0.5
PR: 52938 Submitted by: Filippo Natali <filippo@widestore.net>
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