Date: Tue, 11 Dec 2012 01:48:01 GMT From: Geraud CONTINSOUZAS <geraud@gcu.info> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174350: [PATCH] security/cyrus-sasl2 : fix broken `make package` Message-ID: <201212110148.qBB1m1Lf053634@red.freebsd.org> Resent-Message-ID: <201212110150.qBB1o0HG023498@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174350 >Category: ports >Synopsis: [PATCH] security/cyrus-sasl2 : fix broken `make package` >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: Tue Dec 11 01:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Geraud CONTINSOUZAS >Release: FreeBSD 8.3 STABLE >Organization: >Environment: FreeBSD chauchau.xxxxx.local 8.3-STABLE FreeBSD 8.3-STABLE #0: Mon Jul 23 15:19:20 NCT 2012 root@chauchau.xxxxx.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Latest commit broke `make package`. The port will install its pkgconfig file in $PREFIX/lib/pkgconfig (with no configure flag to change the destination at configure time). >How-To-Repeat: cd /usr/ports/security/cyrus-sasl2 && make package install >Fix: See attached patch. Beware, I didn't do "subtle" (I wasn't even aiming for "subtle" anyway. There might be a better/cleaner way to do it but I don't have the tuits to do it so. All in all, it's a WORKSFORME patch... but might need some reworking. Patch attached with submission follows: --- /dev/null 2012-12-11 11:12:31.000000000 +1100 +++ security/cyrus-sasl2/files/patch-Makefile.in 2012-12-11 11:11:15.000000000 +1100 @@ -0,0 +1,12 @@ +--- Makefile.in.orig 2012-11-07 06:21:39.000000000 +1100 ++++ Makefile.in 2012-12-11 11:11:10.000000000 +1100 +@@ -357,7 +357,8 @@ + EXTRA_DIST = config cmulocal win32 mac dlcompat-20010505 NTMakefile INSTALL.TXT \ + libsasl2.pc.in + +-pkgconfigdir = $(libdir)/pkgconfig ++libdatadir = $(libdir)data ++pkgconfigdir = $(libdatadir)/pkgconfig + pkgconfig_DATA = libsasl2.pc + framedir = /Library/Frameworks/SASL2.framework + all: config.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212110148.qBB1m1Lf053634>