summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2006-06-19 12:18:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2006-06-19 12:18:05 +0000
commit3c47d55ef1ac15c17ce14e60d6df6729d429e39b (patch)
tree8ad908522ccfd113e7132b21f9b881e6e9d95996
parentrcNGefy (diff)
Update to 1.07
Notes
Notes: svn path=/head/; revision=165771
-rw-r--r--databases/p5-DBD-Sybase/Makefile8
-rw-r--r--databases/p5-DBD-Sybase/distinfo6
-rw-r--r--databases/p5-DBD-Sybase/files/patch-Makefile.PL42
3 files changed, 31 insertions, 25 deletions
diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile
index 7360a70a8442..f1d314abc49d 100644
--- a/databases/p5-DBD-Sybase/Makefile
+++ b/databases/p5-DBD-Sybase/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= DBD-Sybase
-PORTVERSION= 1.02
-PORTREVISION= 3
+PORTVERSION= 1.07
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -20,6 +19,11 @@ LIB_DEPENDS= ct.3:${PORTSDIR}/databases/freetds
PERL_CONFIGURE= yes
CONFIGURE_ENV+= SYBASE=${LOCALBASE}
+
+.if defined(BATCH)
+CONFIGURE_ARGS+= < /dev/null
+.endif
+
USE_GETTEXT= yes
MAN3= DBD::Sybase.3
diff --git a/databases/p5-DBD-Sybase/distinfo b/databases/p5-DBD-Sybase/distinfo
index f4353841af8f..e693345ad92d 100644
--- a/databases/p5-DBD-Sybase/distinfo
+++ b/databases/p5-DBD-Sybase/distinfo
@@ -1,3 +1,3 @@
-MD5 (DBD-Sybase-1.02.tar.gz) = 325f97ccd5255aa05f5605241da5e1e8
-SHA256 (DBD-Sybase-1.02.tar.gz) = 70ccf4ee16fcd0ca24d4ff312c3cb5117b8e7e1c7afe00b30a0b53bb63693a01
-SIZE (DBD-Sybase-1.02.tar.gz) = 166191
+MD5 (DBD-Sybase-1.07.tar.gz) = 65775337fd16f85c94aed51a7491d024
+SHA256 (DBD-Sybase-1.07.tar.gz) = be41f930fda27447b520773a1461ba3f43d20e0a859bef0504c40f3f3fe067b0
+SIZE (DBD-Sybase-1.07.tar.gz) = 189553
diff --git a/databases/p5-DBD-Sybase/files/patch-Makefile.PL b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
index 040e6559557c..a4ea6a69a7b7 100644
--- a/databases/p5-DBD-Sybase/files/patch-Makefile.PL
+++ b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
@@ -1,6 +1,6 @@
---- Makefile.PL.orig Mon Mar 31 18:55:11 2003
-+++ Makefile.PL Thu May 15 20:44:09 2003
-@@ -22,7 +22,7 @@
+--- Makefile.PL.orig Sat Apr 9 11:02:35 2005
++++ Makefile.PL Mon Jun 19 13:33:18 2006
+@@ -26,7 +26,7 @@
configure();
@@ -9,23 +9,25 @@
my $lddlflags = $Config{lddlflags};
$lddlflags = "-L$SYBASE/lib $lddlflags" unless $^O eq 'VMS';
-@@ -111,13 +111,13 @@
- } else {
- my $extra = getExtraLibs($SYBASE, $attr{EXTRA_LIBS});
+@@ -151,16 +151,16 @@
+
+ my $extra = getExtraLibs($SYBASE, $attr{EXTRA_LIBS}, $version);
if($file) {
-- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $attr{EXTRA_LIBS} -ldl -lm";
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -lblk $attr{EXTRA_LIBS} -ldl -lm";
+ $lib_string = "-L$SYBASE/lib -lct -lintl $attr{EXTRA_LIBS} -lm";
} else {
-- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $extra -ldl -lm";
-- }
-- if($^O =~ /linux|freebsd/i) {
-- $lib_string =~ s/ltcl/lsybtcl/;
-- }
-+ $lib_string = "-L$SYBASE/lib -lct -lintl $extra -lm";
-+ }
-+# if($^O =~ /linux|freebsd/i) {
-+# $lib_string =~ s/ltcl/lsybtcl/;
-+# }
- if($attr{BUILD_TYPE} == 64) {
- $inc_string .= ' -DSYB_LP64';
- print "Running in 64bit mode - looking for '64' libraries...\n";
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -lblk $extra -ldl -lm";
++ $lib_string = "-L$SYBASE/lib -lct -lintl $extra -lm";
+ }
+ if($newlibnames) {
+ foreach (qw(ct cs tcl comn intl blk)) {
+ $lib_string =~ s/-l$_/-lsyb$_/;
+ }
+- } elsif($^O =~ /linux|freebsd/i) {
+- $lib_string =~ s/-ltcl/-lsybtcl/;
+ }
++# } elsif($^O =~ /linux|freebsd/i) {
++# $lib_string =~ s/-ltcl/-lsybtcl/;
+ }
+
+ # Logic to replace normal libs with _r (re-entrant) libs if