Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2013 16:37:51 +0200 (CEST)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179876: [patch] databases/sqlite3: remove pkgconf dependency
Message-ID:  <201306231437.r5NEbpSp002922@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201306231440.r5NEe3Xk049226@freefall.freebsd.org>

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

>Number:         179876
>Category:       ports
>Synopsis:       [patch] databases/sqlite3: remove pkgconf dependency
>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:   Sun Jun 23 14:40:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
>Description:
The attached patch removes the pkgconf dependency. The port only
installs a .pc file, it doesn't run pkgconf.
The patch also replaces post-patch with pathfix.
>How-To-Repeat:
>Fix:

--- sqlite3.patch begins here ---
Index: databases/sqlite3/Makefile
===================================================================
--- databases/sqlite3/Makefile	(revision 321639)
+++ databases/sqlite3/Makefile	(working copy)
@@ -18,7 +18,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg
 
 CONFLICTS=	sqlite34-[0-9]* sqlcipher-[0-9]*
 
-USES=		pkgconfig
+USES=		pathfix
 USE_LDCONFIG=	YES
 GNU_CONFIGURE=	YES
 
@@ -154,9 +154,6 @@ CONFIGURE_ARGS+=	--enable-dynamic-extens
 CONFIGURE_ARGS+=	--disable-dynamic-extensions
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} '/^pkgconf/s,$${libdir},$${prefix}/libdata,' ${WRKSRC}/Makefile.in
-
 post-build:
 .if ${ARCH}=="i386"
 	@${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests"
--- sqlite3.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?201306231437.r5NEbpSp002922>