ports/174350: [PATCH] security/cyrus-sasl2 : fix broken `make package`
Geraud CONTINSOUZAS
geraud at gcu.info
Tue Dec 11 01:50:00 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list