ports/76686: [maintainer] databases/mysqlcppapi: handle pkg-config profile in a better way

Jie Gao gaoj at cpsc.ucalgary.ca
Tue Jan 25 23:40:27 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list