Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 16:33:35 -0700
From:      "Jie Gao" <gaoj@cpsc.ucalgary.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76686: [maintainer] databases/mysqlcppapi: handle pkg-config profile in a better way
Message-ID:  <200501252333.j0PNXZqA029020@imgw1.cpsc.ucalgary.ca>
Resent-Message-ID: <200501252340.j0PNeHci030035@freefall.freebsd.org>

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

>Number:         76686
>Category:       ports
>Synopsis:       [maintainer] databases/mysqlcppapi: handle pkg-config profile in a better way
>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:   Tue Jan 25 23:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jie Gao
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD aibsd 5.3-STABLE FreeBSD 5.3-STABLE #3: Sat Jan 15 20:23:09 MST 2005 root@aibsd:/usr/obj/usr/src/sys/AIBSD i386


	
>Description:
	
Use a better way to handle its pkg-config profile. This fixes the complains
about the plist.

>How-To-Repeat:
	
N/A
>Fix:

	

Apply the patch below

--- patch-databases-mysqlcppapi begins here ---
Index: databases/mysqlcppapi/Makefile
===================================================================
RCS file: /home/grads/gaoj/repository/ports/databases/mysqlcppapi/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- databases/mysqlcppapi/Makefile	27 Oct 2004 17:20:35 -0000	1.2
+++ databases/mysqlcppapi/Makefile	25 Jan 2005 23:30:32 -0000
@@ -18,6 +18,7 @@
 USE_MYSQL=	yes
 USE_REINPLACE=	yes
 USE_LIBTOOL_VER=15
+USE_GNOME=	pkgconfig gnomehack
 GNU_CONFIGURE=	yes
 
 .include <bsd.port.pre.mk>
@@ -35,8 +36,6 @@
 INSTALLS_SHLIB=	yes
 
 post-patch:
-	${REINPLACE_CMD} -e '/^pkgconfigdir =/s,\$$(libdir),$$(prefix)/libdata,g' \
-		${WRKSRC}/Makefile.in
 	${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
 		${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
 	${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
--- patch-databases-mysqlcppapi ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501252333.j0PNXZqA029020>