[csw-devel] SF.net SVN: gar:[7699] csw/mgar/pkg/mysql5/branches/mysql-5.0.x/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Dec 21 20:51:07 CET 2009


Revision: 7699
          http://gar.svn.sourceforge.net/gar/?rev=7699&view=rev
Author:   wahwah
Date:     2009-12-21 19:50:58 +0000 (Mon, 21 Dec 2009)

Log Message:
-----------
mysql5: removing the incompatible mark against mysql4, working around the libtool version problem

Modified Paths:
--------------
    csw/mgar/pkg/mysql5/branches/mysql-5.0.x/Makefile

Modified: csw/mgar/pkg/mysql5/branches/mysql-5.0.x/Makefile
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.0.x/Makefile	2009-12-21 18:50:40 UTC (rev 7698)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.0.x/Makefile	2009-12-21 19:50:58 UTC (rev 7699)
@@ -3,7 +3,9 @@
 # $Id$
 
 GARNAME = mysql5
-GARVERSION = 5.0.87
+MYSQL_MINOR_VERSION = 0
+MYSQL_PATCHLEVEL = 87
+GARVERSION = 5.$(MYSQL_MINOR_VERSION).$(MYSQL_PATCHLEVEL)
 CATEGORIES = server
 
 DISTNAME = mysql-$(GARVERSION)
@@ -38,12 +40,6 @@
 CATALOGNAME_CSWmysql5rt     = $(GARNAME)rt
 CATALOGNAME_CSWmysql5test   = $(GARNAME)test
 
-INCOMPATIBLE_PKGS_CSWmysql5bench  = CSWmysql4bench
-INCOMPATIBLE_PKGS_CSWmysql5client = CSWmysql4client
-INCOMPATIBLE_PKGS_CSWmysql5       = CSWmysql4
-INCOMPATIBLE_PKGS_CSWmysql5devel  = CSWmysql4devel
-INCOMPATIBLE_PKGS_CSWmysql5test   = CSWmysql4test
-
 SPKG_DESC_CSWmysql5       = Multithreaded SQL database
 SPKG_DESC_CSWmysql5bench  = MySQL 5 benchmarking
 SPKG_DESC_CSWmysql5client = MySQL 5 client binaries
@@ -95,7 +91,7 @@
 REQUIRED_PKGS_CSWmysql5devel       = CSWmysql5
 REQUIRED_PKGS_CSWmysql5test        = CSWmysql5 CSWperl
 
-MASTER_SITES = ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.0/
+MASTER_SITES = ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.$(MYSQL_MINOR_VERSION)/
 DISTFILES  = mysql-$(GARVERSION).tar.gz
 DISTFILES += cswmysql5 quick_start-csw README.CSW ChangeLog
 DISTFILES += CSWmysql5.preinstall
@@ -152,7 +148,11 @@
 
 include gar/category.mk
 
-post-install:
+pre-configure-modulated:
+	# To work around the libtool version mismatch problem.
+	cd $(WORKSRC) && autoreconf --force --install --symlink
+
+post-install-modulated:
 	ginstall -m 755 -d $(DESTDIR)$(localstatedir)
 	ginstall -m 755 -d $(DESTDIR)$(datadir)/mysql/doc
 	ginstall -m 644 $(FILEDIR)/ChangeLog $(DESTDIR)$(datadir)/mysql/doc


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list