Date: Sat, 5 Mar 2005 02:21:52 +0200 (EET) From: Sergey Prikhodko <sergey@network-asp.biz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78433: [Maintainer] Update databases/mysql++ to 1.7.30 Message-ID: <20050305002152.185CC9919C4@network-asp.biz> Resent-Message-ID: <200503050030.j250UHYR004395@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78433 >Category: ports >Synopsis: [Maintainer] Update databases/mysql++ to 1.7.30 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 05 00:30:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Prikhodko >Release: FreeBSD 5.2.1-RELEASE-p13 i386 >Organization: Network-ASP >Environment: System: FreeBSD network-asp.biz 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #4: Mon Jan 24 15:00:06 EET 2005 root@network-asp.biz:/usr/obj/usr/src/sys/RKERNEL i386 >Description: Port changes: - update to 1.7.30 - removed dependencies on perl and gmake - removed install procedure from Makefile ( thanks Vanilla I. Shu <vanilla@FreeBSD.org> for patch ) - fixed examples Makefile - removed unused files from examples dir As always, you can find mysql++ ChangeLog at http://tangentsoft.net/mysql++/ChangeLog >How-To-Repeat: >Fix: --- mysql++.patch begins here --- diff -ruN mysql++.orig/Makefile mysql++/Makefile --- mysql++.orig/Makefile Tue Feb 8 19:25:12 2005 +++ mysql++/Makefile Sat Mar 5 00:56:59 2005 @@ -6,7 +6,7 @@ # PORTNAME= mysql++ -PORTVERSION= 1.7.28 +PORTVERSION= 1.7.30 CATEGORIES= databases devel MASTER_SITES= http://tangentsoft.net/mysql++/releases/ @@ -14,9 +14,7 @@ COMMENT= Complex C++ API for MySQL USE_MYSQL= yes -USE_GMAKE= yes -USE_PERL5= yes -GNU_CONFIGURE= yes +USE_LIBTOOL_VER= 15 CONFIGURE_ARGS= --with-mysql=${LOCALBASE} INSTALLS_SHLIB= yes @@ -29,25 +27,19 @@ PKGNAMESUFFIX= -mysql${MYSQL_VER} COMMENT+= ${MYSQL_VER} -pre-configure: - @${RM} ${WRKSRC}/examples/Makefile.in - @${ECHO} "all:" >${WRKSRC}/examples/Makefile.in - @${ECHO} "install:" >>${WRKSRC}/examples/Makefile.in - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/lib/.libs/libmysqlpp.so.4 ${PREFIX}/lib - @${INSTALL_DATA} ${WRKSRC}/lib/.libs/libmysqlpp.a ${PREFIX}/lib - @(cd ${PREFIX}/lib && ${RM} -f libmysqlpp.so && ${LN} -s libmysqlpp.so.4 libmysqlpp.so) - @ranlib ${PREFIX}/lib/libmysqlpp.a - @${MKDIR} ${PREFIX}/include/mysql++ - @(cd ${WRKSRC}/lib/; \ - ${INSTALL_DATA} *.hh ${PREFIX}/include/mysql++; \ - ${INSTALL_DATA} *.h ${PREFIX}/include/mysql++) +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/man-text/*.txt ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/*.h ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/Makefile.simple ${EXAMPLESDIR}/Makefile.temp + @${SED} -e "s|/usr/include/mysql++|${PREFIX}/include/mysql++|" < ${EXAMPLESDIR}/Makefile.temp | \ + ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \ + ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" > ${EXAMPLESDIR}/Makefile + @${RM} -f ${EXAMPLESDIR}/Makefile.temp .endif .include <bsd.port.post.mk> diff -ruN mysql++.orig/distinfo mysql++/distinfo --- mysql++.orig/distinfo Tue Feb 8 12:13:04 2005 +++ mysql++/distinfo Fri Mar 4 23:38:53 2005 @@ -1,2 +1,2 @@ -MD5 (mysql++-1.7.28.tar.gz) = 8e0864a7ff66dbd6b51b427f07294040 -SIZE (mysql++-1.7.28.tar.gz) = 807791 +MD5 (mysql++-1.7.30.tar.gz) = 6e45b42e710461ce17b153e58780aed6 +SIZE (mysql++-1.7.30.tar.gz) = 925209 diff -ruN mysql++.orig/files/patch-Makefile.in mysql++/files/patch-Makefile.in --- mysql++.orig/files/patch-Makefile.in Thu Jan 1 03:00:00 1970 +++ mysql++/files/patch-Makefile.in Sat Mar 5 00:15:13 2005 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Tue Mar 1 07:59:04 2005 ++++ Makefile.in Sat Mar 5 00:15:10 2005 +@@ -187,7 +187,7 @@ + + + #SUBDIRS = lib examples doc +-SUBDIRS = lib examples ++SUBDIRS = lib + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + diff -ruN mysql++.orig/files/patch-configure mysql++/files/patch-configure --- mysql++.orig/files/patch-configure Thu Jan 1 03:00:00 1970 +++ mysql++/files/patch-configure Sat Mar 5 00:11:37 2005 @@ -0,0 +1,11 @@ +--- configure.orig Tue Mar 1 07:55:49 2005 ++++ configure Sat Mar 5 00:11:20 2005 +@@ -499,7 +499,7 @@ + sharedstatedir='${prefix}/com' + localstatedir='${prefix}/var' + libdir='${exec_prefix}/lib' +-includedir='${prefix}/include' ++includedir='${prefix}/include/mysql++' + oldincludedir='/usr/include' + infodir='${prefix}/info' + mandir='${prefix}/man' diff -ruN mysql++.orig/pkg-plist mysql++/pkg-plist --- mysql++.orig/pkg-plist Sat Jan 15 06:00:27 2005 +++ mysql++/pkg-plist Sat Mar 5 00:58:10 2005 @@ -54,50 +54,18 @@ %%PORTDOCS%%%%DOCSDIR%%/index.txt %%PORTDOCS%%%%DOCSDIR%%/manual.txt %%PORTDOCS%%%%EXAMPLESDIR%%/Makefile -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile.am -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile.in -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile.simple %%PORTDOCS%%%%EXAMPLESDIR%%/README -%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/complic1.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/complic1.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/complic1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/complic1.vcproj %%PORTDOCS%%%%EXAMPLESDIR%%/custom1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom1.vcproj %%PORTDOCS%%%%EXAMPLESDIR%%/custom2.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom2.vcproj %%PORTDOCS%%%%EXAMPLESDIR%%/custom3.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom3.vcproj %%PORTDOCS%%%%EXAMPLESDIR%%/custom4.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom4.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/examples.bpg -%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/load_file.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/simple1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/updel.vcproj -%%PORTDOCS%%%%EXAMPLESDIR%%/updel.bpf -%%PORTDOCS%%%%EXAMPLESDIR%%/updel.bpr %%PORTDOCS%%%%EXAMPLESDIR%%/updel.cpp %%PORTDOCS%%%%EXAMPLESDIR%%/util.cpp %%PORTDOCS%%%%EXAMPLESDIR%%/util.h --- mysql++.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050305002152.185CC9919C4>