ports/139536: [PATCH] www/libmicrohttpd: fix broken mtree with custom PREFIX

Sahil Tandon sahil at tandon.net
Sun Oct 11 23:20:02 UTC 2009


>Number:         139536
>Category:       ports
>Synopsis:       [PATCH] www/libmicrohttpd: fix broken mtree with custom PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 11 23:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
After installing this port with a custom PREFIX, it does not clean up after itself upon uninstall (one file remains).  This should be fixed upstream, but the attached patch solves the problem in the meantime.  See QATty log for more:

http://qatty.tecnik93.com//errors/7-STABLE-FPT-CustDir/libmicrohttpd-0.4.2.log


>How-To-Repeat:
Install the port with a custom PREFIX (i.e. one that is not == 'usr/local').
>Fix:
Patch attached.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/libmicrohttpd/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	17 Aug 2009 20:18:57 -0000	1.4
+++ Makefile	11 Oct 2009 23:05:28 -0000
@@ -15,6 +15,7 @@
 
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+MAKE_ARGS+=	pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
 PLIST_FILES=	lib/libmicrohttpd.so.6 \
 		lib/libmicrohttpd.la \


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



More information about the freebsd-ports-bugs mailing list