summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2011-09-08 13:49:03 +0000
committerjoerg <joerg>2011-09-08 13:49:03 +0000
commit568c3dbdcbd195bc4157d0a23939fbaba2056988 (patch)
treec02ac593f64a289cfc93f4eddca6390b9ed191f0
parentab41b69d9db5e67fcf04d07b25312a9d3e9b6c5a (diff)
downloadpkgsrc-568c3dbdcbd195bc4157d0a23939fbaba2056988.tar.gz
Apply the same -O20 -> -O3 change for the libdbi driver packages
-rw-r--r--databases/libdbi/Makefile_drivers4
-rw-r--r--databases/libdbi/distinfo_drivers3
-rw-r--r--databases/libdbi/patches_drivers/patch-configure27
3 files changed, 31 insertions, 3 deletions
diff --git a/databases/libdbi/Makefile_drivers b/databases/libdbi/Makefile_drivers
index cd22566ba5c..66c74ba274c 100644
--- a/databases/libdbi/Makefile_drivers
+++ b/databases/libdbi/Makefile_drivers
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile_drivers,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
+# $NetBSD: Makefile_drivers,v 1.2 2011/09/08 13:49:03 joerg Exp $
#
DISTNAME= libdbi-drivers-0.8.3-1
@@ -15,7 +15,7 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
DISTINFO_FILE= ${.CURDIR}/../../databases/libdbi/distinfo_drivers
-#PATCHDIR= ${.CURDIR}/../../databases/libdbi/patches_drivers
+PATCHDIR= ${.CURDIR}/../../databases/libdbi/patches_drivers
INSTALLATION_DIRS+= lib/dbd
diff --git a/databases/libdbi/distinfo_drivers b/databases/libdbi/distinfo_drivers
index 10f3b726691..3464b5b7cca 100644
--- a/databases/libdbi/distinfo_drivers
+++ b/databases/libdbi/distinfo_drivers
@@ -1,5 +1,6 @@
-$NetBSD: distinfo_drivers,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
+$NetBSD: distinfo_drivers,v 1.2 2011/09/08 13:49:03 joerg Exp $
SHA1 (libdbi-drivers-0.8.3-1.tar.gz) = 599fbab115419e8fc88b3b31a38031584ee213b5
RMD160 (libdbi-drivers-0.8.3-1.tar.gz) = e0aa9e67f6560fb44018b1d35d90d4ac21b48597
Size (libdbi-drivers-0.8.3-1.tar.gz) = 1534420 bytes
+SHA1 (patch-configure) = 62230ebabedeb8eea10c915d8fc98b00e49c6b9a
diff --git a/databases/libdbi/patches_drivers/patch-configure b/databases/libdbi/patches_drivers/patch-configure
new file mode 100644
index 00000000000..f9bbb7b064c
--- /dev/null
+++ b/databases/libdbi/patches_drivers/patch-configure
@@ -0,0 +1,27 @@
+$NetBSD: patch-configure,v 1.1 2011/09/08 13:49:03 joerg Exp $
+
+--- configure.orig 2011-09-08 12:21:45.000000000 +0000
++++ configure
+@@ -20202,16 +20202,16 @@ else
+ case $host in
+ *-*-linux*)
+ DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
+- PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
++ CFLAGS="-O3 -ffast-math -D_REENTRANT -fsigned-char"
++ PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char";;
+ sparc-sun-*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
+- CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
+- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
++ CFLAGS="-O3 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
++ PROFILE="-pg -g -O3 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+ *)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
+- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
++ CFLAGS="-O3 -D__NO_MATH_INLINES -fsigned-char"
++ PROFILE="-O3 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ esac
+ fi
+