Bug 80693 - [maintainer-update] databases/mysql++ to 1.7.35
Summary: [maintainer-update] databases/mysql++ to 1.7.35
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 14:30 UTC by sergey
Modified: 2005-05-12 20:37 UTC (History)
0 users

See Also:


Attachments
file.diff (24.67 KB, patch)
2005-05-06 14:30 UTC, sergey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.