Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 21:17:23 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mico@bsd.hu
Subject:   ports/47467: [FIX] databases/mysql++ fix build on 5.0
Message-ID:  <E18cUrr-000Guy-00@sem-home.ciam.ru>

next in thread | raw e-mail | index | archive | help

>Number:         47467
>Category:       ports
>Synopsis:       [FIX] databases/mysql++ fix build on 5.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 25 10:20:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sem-home.ciam.ru 5.0-RELEASE FreeBSD 5.0-RELEASE #2: Mon Jan 20 12:56:36 MSK 2003 root@sem-home.ciam.ru:/usr/obj/usr/src/sys/SEM-HOME i386


	
>Description:
	fix build on 5.0
	
>How-To-Repeat:
	
>Fix:

	

diff -ruN /usr/ports/databases/mysql++/Makefile mysql++/Makefile
--- /usr/ports/databases/mysql++/Makefile	Tue Feb 26 00:36:55 2002
+++ mysql++/Makefile	Sat Jan 25 21:13:54 2003
@@ -21,6 +21,14 @@
 CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ "
 INSTALLS_SHLIB=	yes
 
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500035
+PATCHFILES=	mysql++-gcc-3.0.patch.gz \
+	        mysql++-gcc-3.2.patch.gz
+PATCH_SITES=	${MASTER_SITES}
+PATCH_DIST_STRIP=-p1
+.endif
+
 pre-configure:
 	${RM} ${WRKSRC}/examples/Makefile.in
 	${ECHO} "all:" >${WRKSRC}/examples/Makefile.in
@@ -40,4 +48,4 @@
 	 ${INSTALL_DATA} mysql++ defs undef_short define_short *.hh ${PREFIX}/include/mysql)
 	@${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/mysql++
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/databases/mysql++/distinfo mysql++/distinfo
--- /usr/ports/databases/mysql++/distinfo	Thu Aug  9 01:30:23 2001
+++ mysql++/distinfo	Sat Jan 25 20:44:40 2003
@@ -1 +1,3 @@
 MD5 (mysql++-1.7.9.tar.gz) = 1312fb4e33dcce07fac5fa9c2ac801f7
+MD5 (mysql++-gcc-3.0.patch.gz) = 00958326410b942d352e6c7ceaafeeb9
+MD5 (mysql++-gcc-3.2.patch.gz) = fe3ef5852e96951a8eb5a172f2f19498
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18cUrr-000Guy-00>