Bug 80693

Summary: [maintainer-update] databases/mysql++ to 1.7.35
Product: Ports & Packages Reporter: sergey
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description sergey 2005-05-06 14:30:02 UTC
	Update to latest version.
	Full list of mysql++ changes at http://tangentsoft.net/mysql++/ChangeLog

Fix: --- mysql++.patch begins here ---
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2005-05-06 17:19:01 UTC
State Changed
From-To: open->feedback


OK on 5.4, but libtool does like gcc33 on FreeBSD-4.x: 

Making all in lib 
source='coldata.cpp' object='coldata.lo' libtool=yes  depfile='.deps/coldata.Plo' tmpdepfile='.deps/coldata.TPlo'  depmode=gcc3 /bin/sh ../depcomp  /bin/sh /usr/local/bin/libtool15 --mode=compile g++33 -DHAVE_CONFIG_H  -I. -I. -I.. -I../lib  -I/usr/local/include/mysql   -O -pipe -march=pentiumpro -c -o coldata.lo `test -f 'coldata.cpp' || echo './'`coldata.cpp 
libtool15: compile: unable to infer tagged configuration 
libtool15: compile: specify a tag with `--tag' 
*** Error code 1 

Stop in /usr/ports/databases/mysql++/work/mysql++-1.7.35/lib. 
*** Error code 1 

Could you please add a libtool tag? 



Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2005-05-06 17:19:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2005-05-09 20:17:49 UTC
Le Lun  9 mai 05 à 12:19:35 +0200, Sergey Prikhodko <sergey@network-asp.biz>
 écrivait :
> > OK on 5.4, but libtool does like gcc33 on FreeBSD-4.x:
> 
> > Making all in lib
> > source='coldata.cpp' object='coldata.lo' libtool=yes 
> > depfile='.deps/coldata.Plo' tmpdepfile='.deps/coldata.TPlo' 
> > depmode=gcc3 /bin/sh ../depcomp  /bin/sh /usr/local/bin/libtool15
> > --mode=compile g++33 -DHAVE_CONFIG_H  -I. -I. -I.. -I../lib 
> > -I/usr/local/include/mysql   -O -pipe -march=pentiumpro -c -o
> > coldata.lo `test -f 'coldata.cpp' || echo './'`coldata.cpp
> > libtool15: compile: unable to infer tagged configuration
> > libtool15: compile: specify a tag with `--tag'
> > *** Error code 1
> 
> > Stop in /usr/ports/databases/mysql++/work/mysql++-1.7.35/lib.
> > *** Error code 1
> 
> > Could you please add a libtool tag?
> 
> Please, replace in Makefile
> USE_LIBTOOL_VER=15  with  HAS_CONFIGURE=yes

Please keep this USE_LIBTOOL_VER, and just add this kind of patch:

--- patch-configure begins here ---
--- configure.orig	Thu May  5 13:30:26 2005
+++ configure	Mon May  9 21:09:42 2005
@@ -7793,7 +7793,7 @@
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
 # Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --tag=CXX'
 
 # Prevent multiple expansion
 
--- patch-configure ends here ---

(or REINPLACE_CMD if you prefer)

Regards,
-- 
Th. Thomas.
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2005-05-12 20:36:01 UTC
State Changed
From-To: feedback->closed


Thanks! Committed on 09 May 2005 at 21:59:39 GMT, but this 
PR was still open.