Date: Tue, 13 Jan 2009 03:00:48 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130471: Update port: databases/mysql++ to 2.1.1 Message-ID: <20090113030048.6f11554b.tkato432@yahoo.com> Resent-Message-ID: <200901121840.n0CIe8OO037133@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130471 >Category: ports >Synopsis: Update port: databases/mysql++ to 2.1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 12 18:40:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.1-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 2.1.1 Remove file: files/patch-Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/databases/mysql++/Makefile databases/mysql++/Makefile --- /usr/ports/databases/mysql++/Makefile 2009-01-06 15:12:23.000000000 +0900 +++ databases/mysql++/Makefile 2009-01-06 20:17:37.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= mysql++ -PORTVERSION= 2.1.1 +PORTVERSION= 2.3.2 CATEGORIES= databases devel MASTER_SITES= http://tangentsoft.net/mysql++/releases/ PKGNAMESUFFIX= -mysql${MYSQL_VER} @@ -14,42 +14,35 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Complex C++ API for MySQL${MYSQL_VER} -USE_MYSQL= yes -USE_AUTOTOOLS= libtool:15 -CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --disable-examples -USE_LDCONFIG= yes - -USE_GMAKE= yes - CONFLICTS= ${PORTNAME}*-1.* NOT_FOR_ARCHS= amd64 sparc64 NOT_FOR_ARCHS_REASON_amd64= Fails to compile NOT_FOR_ARCHS_REASON_sparc64= Fails to compile -.if !defined(NOPORTDOCS) +USE_MYSQL= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ARGS= --with-mysql=${LOCALBASE} +USE_LDCONFIG= yes + +PLIST_SUB= VERSION=${PORTVERSION} + PORTDOCS= * -.endif +PORTEXAMPLES= * + +PORTSCOUT= limit:^2\. post-install: - @${RM} -f ${PREFIX}/lib/libmysqlpp.so.3 - @${LN} -s ${PREFIX}/lib/libmysqlpp.so ${PREFIX}/lib/libmysqlpp.so.3 .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html - @${INSTALL_DATA} ${WRKSRC}/doc/userman/html/* ${DOCSDIR}/userman/html - @${INSTALL_DATA} ${WRKSRC}/doc/refman/html/* ${DOCSDIR}/refman/html - @${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/html + @(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR}/html) + @${MKDIR} ${DOCSDIR}/pdf + @(cd ${WRKSRC}/doc/pdf && ${COPYTREE_SHARE} . ${DOCSDIR}/pdf) +.endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${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|-I../lib|-I${PREFIX}/include/mysql++|" < ${EXAMPLESDIR}/Makefile.temp | \ - ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \ - ${SED} -e "s|CXX=g++||" | \ - ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \ - > ${EXAMPLESDIR}/Makefile - @${RM} -f ${EXAMPLESDIR}/Makefile.temp + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff -urN /usr/ports/databases/mysql++/distinfo databases/mysql++/distinfo --- /usr/ports/databases/mysql++/distinfo 2006-04-28 11:36:32.000000000 +0900 +++ databases/mysql++/distinfo 2008-08-31 00:10:29.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (mysql++-2.1.1.tar.gz) = 3a42b3422b37c65f88be9162a969d164 -SHA256 (mysql++-2.1.1.tar.gz) = fcd05ac5b4ef0b7b196636907f0ab14860a4b889bd3b3e4f2acc919e2bb05a53 -SIZE (mysql++-2.1.1.tar.gz) = 1855521 +MD5 (mysql++-2.3.2.tar.gz) = e3b839b17872f1e0f2ddbf7cf407b395 +SHA256 (mysql++-2.3.2.tar.gz) = 3544b964964bc8981118119e82e4883dc9d1de8a72861a19e6687719ed3efce9 +SIZE (mysql++-2.3.2.tar.gz) = 1627115 diff -urN /usr/ports/databases/mysql++/files/patch-Makefile.in databases/mysql++/files/patch-Makefile.in --- /usr/ports/databases/mysql++/files/patch-Makefile.in 2006-04-28 11:36:32.000000000 +0900 +++ databases/mysql++/files/patch-Makefile.in 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- Makefile.in.orig Wed Apr 5 07:44:49 2006 -+++ Makefile.in Thu Apr 27 23:34:16 2006 -@@ -20,7 +20,7 @@ - - ### Targets: ### - --all: lib examples -+all: lib - - install: all - (cd lib && $(MAKE) install) diff -urN /usr/ports/databases/mysql++/pkg-plist databases/mysql++/pkg-plist --- /usr/ports/databases/mysql++/pkg-plist 2006-04-28 11:36:32.000000000 +0900 +++ databases/mysql++/pkg-plist 2008-08-31 00:21:14.000000000 +0900 @@ -1,11 +1,12 @@ +include/mysql++/autoflag.h include/mysql++/coldata.h +include/mysql++/common.h include/mysql++/connection.h include/mysql++/const_string.h include/mysql++/convert.h include/mysql++/custom-macros.h include/mysql++/custom.h include/mysql++/datetime.h -include/mysql++/defs.h include/mysql++/exceptions.h include/mysql++/field_names.h include/mysql++/field_types.h @@ -16,7 +17,6 @@ include/mysql++/mysql++.h include/mysql++/noexceptions.h include/mysql++/null.h -include/mysql++/platform.h include/mysql++/qparms.h include/mysql++/query.h include/mysql++/querydef.h @@ -31,30 +31,7 @@ include/mysql++/transaction.h include/mysql++/type_info.h include/mysql++/vallist.h -@dirrm include/mysql++ lib/libmysqlpp.so -lib/libmysqlpp.so.3 -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile -%%PORTDOCS%%%%EXAMPLESDIR%%/README -%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom2.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom3.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom4.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom5.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/custom6.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/multiquery.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/simple2.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/simple3.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/stock.h -%%PORTDOCS%%%%EXAMPLESDIR%%/updel.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/usequery.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/util.cpp -%%PORTDOCS%%%%EXAMPLESDIR%%/util.h -%%PORTDOCS%%%%EXAMPLESDIR%%/xaction.cpp -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +lib/libmysqlpp.so.2 +lib/libmysqlpp.so.%%VERSION%% +@dirrm include/mysql++ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090113030048.6f11554b.tkato432>