head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.02.06.11.37.06;	author garga;	state Exp;
branches;
next	;


desc
@@


1.1
log
@The Authen::Libwrap module allows you to access the hosts_ctl()
function from the popular TCP Wrappers security package.  This
allows validation of network access from perl programs against
the system-wide hosts.allow file.

WWW: http://search.cpan.org/dist/Authen-Libwrap

PR:		ports/92855
Submitted by:	Zach Thompson <hideo@@lastamericanempire.com>
@
text
@Patch to automate linking against libwrap

--- Build.PL	Tue Dec 16 20:39:54 2003
+++ Build.PL	Sun Feb  5 11:22:27 2006
@@@@ -28,13 +28,8 @@@@
     for my $libname( qw|libwrap.so libwrap.a| ) {
         my $candidate = File::Spec->catfile( $prefix, 'lib', $libname );
         if( -e $candidate && -f _ && -r _ ) {
-            my $y_n = Module::Build->y_n(
-                "do you want to link against $candidate?", "y"
-            );
-            if( $y_n ) {
-                $lib_dir = File::Spec->catdir( $prefix, 'lib' );
-                last;
-            }
+        	$lib_dir = File::Spec->catdir( $prefix, 'lib' );
+        	last;
         }
     }
 }
@@@@ -43,13 +38,8 @@@@
 for my $prefix( @@prefixes ) {
     my $candidate = File::Spec->catfile( $prefix, 'include', 'tcpd.h' );
     if( -e $candidate && -f _ && -r _ ) {
-        my $y_n = Module::Build->y_n(
-            "do you want to use $candidate as your header?", "y"
-        );
-        if( $y_n ) {
             $inc_dir = File::Spec->catdir( $prefix, 'include' );
             last;
-        }
     }
 }
 
@
