pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Fix the build by adding USE_LANGUAGES=c c++ ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccc15c0d777e
branches:  trunk
changeset: 470940:ccc15c0d777e
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Mar 13 12:09:36 2004 +0000

description:
Fix the build by adding USE_LANGUAGES=c c++ and linking myisam/isam
with CXX.
Noted by kristerw's bulk-build and Michal Pasternak on tech-pkg@.

diffstat:

 databases/mysql4-client/Makefile.common  |   3 ++-
 databases/mysql4-server/distinfo         |   4 +++-
 databases/mysql4-server/patches/patch-aw |  13 +++++++++++++
 databases/mysql4-server/patches/patch-ax |  13 +++++++++++++
 4 files changed, 31 insertions(+), 2 deletions(-)

diffs (66 lines):

diff -r 958c4ec20f61 -r ccc15c0d777e databases/mysql4-client/Makefile.common
--- a/databases/mysql4-client/Makefile.common   Sat Mar 13 11:55:40 2004 +0000
+++ b/databases/mysql4-client/Makefile.common   Sat Mar 13 12:09:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2004/03/10 14:54:05 tv Exp $
+# $NetBSD: Makefile.common,v 1.5 2004/03/13 12:09:36 recht Exp $
 
 DISTNAME=              mysql-4.0.18
 CATEGORIES=            databases
@@ -62,6 +62,7 @@
 CXXFLAGS+=             -DHAVE_CURSES_H
 .endif
 
+USE_LANGUAGES=         c c++
 USE_GNU_TOOLS+=                make
 USE_PERL5=             # defined
 USE_LIBTOOL=           # defined
diff -r 958c4ec20f61 -r ccc15c0d777e databases/mysql4-server/distinfo
--- a/databases/mysql4-server/distinfo  Sat Mar 13 11:55:40 2004 +0000
+++ b/databases/mysql4-server/distinfo  Sat Mar 13 12:09:36 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/03/07 19:42:55 martti Exp $
+$NetBSD: distinfo,v 1.4 2004/03/13 12:09:37 recht Exp $
 
 SHA1 (mysql-4.0.18.tar.gz) = 101f199faead0d22d2da2b1ac82b8c071aa987a8
 Size (mysql-4.0.18.tar.gz) = 13422686 bytes
@@ -13,3 +13,5 @@
 SHA1 (patch-at) = 3a457c3f6b13312cb71b663108abd0ace09f2be4
 SHA1 (patch-au) = 9183bfa3a6f5b4a9553a6de83448fb684d514a91
 SHA1 (patch-av) = 6ea5b9338d223f1380386288c537f55d4fd7a7d7
+SHA1 (patch-aw) = 6beb03517de678def5631517c8a7db7ea6540137
+SHA1 (patch-ax) = 8e21c394b9cd6f7f2a0cae0c76ac08d224a18420
diff -r 958c4ec20f61 -r ccc15c0d777e databases/mysql4-server/patches/patch-aw
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/patches/patch-aw  Sat Mar 13 12:09:36 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aw,v 1.1 2004/03/13 12:09:37 recht Exp $
+
+--- isam/Makefile.in.orig      2004-02-10 19:16:49.000000000 +0100
++++ isam/Makefile.in   2004-03-13 12:26:18.000000000 +0100
+@@ -370,7 +370,7 @@
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
+       $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
++CCLD = $(CXX)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+       $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES = $(libnisam_a_SOURCES) $(isamchk_SOURCES) isamlog.c \
diff -r 958c4ec20f61 -r ccc15c0d777e databases/mysql4-server/patches/patch-ax
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/patches/patch-ax  Sat Mar 13 12:09:36 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ax,v 1.1 2004/03/13 12:09:37 recht Exp $
+
+--- myisam/Makefile.in.orig    2004-03-13 12:38:20.000000000 +0100
++++ myisam/Makefile.in 2004-03-13 12:38:46.000000000 +0100
+@@ -407,7 +407,7 @@
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
+       $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
++CCLD = $(CXX)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+       $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES = $(libmyisam_a_SOURCES) mi_test1.c mi_test2.c mi_test3.c \



Home | Main Index | Thread Index | Old Index