aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/ruby-tcpwrap/Makefile14
-rw-r--r--security/ruby-tcpwrap/distinfo2
2 files changed, 5 insertions, 11 deletions
diff --git a/security/ruby-tcpwrap/Makefile b/security/ruby-tcpwrap/Makefile
index 50bbf5e82382..3683f41d0bfb 100644
--- a/security/ruby-tcpwrap/Makefile
+++ b/security/ruby-tcpwrap/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tcpwrap
-PORTVERSION= 0.2
+PORTVERSION= 0.3
CATEGORIES= security ruby
MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -16,20 +16,14 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libident.a:${PORTSDIR}/security/libident
-.if !exists(/usr/include/tcpd.h)
-LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
-.endif
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
-CONFIGURE_ARGS= --with-ident-dir="${LOCALBASE}"
-.if !exists(/usr/include/tcpd.h)
-CONFIGURE_ARGS+= --with-libwrap-dir="/usr"
-.else
-CONFIGURE_ARGS+= --with-libwrap-dir="${LOCALBASE}"
-.endif
+CONFIGURE_ARGS= --with-libwrap-dir="/usr" \
+ --with-ident-dir="${LOCALBASE}"
+
INSTALL_TARGET= site-install
DOCS_EN= README.en doc/tcpwrap.html.en
diff --git a/security/ruby-tcpwrap/distinfo b/security/ruby-tcpwrap/distinfo
index 4d7e4e2ec23f..bac2dc8e50ec 100644
--- a/security/ruby-tcpwrap/distinfo
+++ b/security/ruby-tcpwrap/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-tcpwrap-0.2.tar.gz) = 118001a716d405f618417e9373f9cf60
+MD5 (ruby/ruby-tcpwrap-0.3.tar.gz) = 6f6ec0bbfc627109753596164ef41892