Date: Tue, 15 Sep 2009 14:58:10 +0200 From: Lapo Luchini <lapo@lapo.it> To: FreeBSD-gnats-submit@FreeBSD.org, clsung@FreeBSD.org Subject: ports/138841: [PATCH] security/botan: fix botan-config script Message-ID: <4AAF8F62.7010308@lapo.it> Resent-Message-ID: <200909151300.n8FD0HVF074537@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138841 >Category: ports >Synopsis: [PATCH] security/botan: fix botan-config script >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: Tue Sep 15 13:00:17 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Lapo Luchini >Release: FreeBSD 7.2-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD lapo.andxor.it 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 >Description: Seems to me that `botan-config --cflags` should produce '-I/usr/local' just like `botan-config --libs` does produce '-L/usr/local', since it is needed to find headers, no reason to have that as an exception in the script. BTW I'd like also to upgrade Botan to latest 1.8.x release, but that will take a bit more time. Would also be nice to have an OPTION to enable processor-specific optimization (such as asm backends), with a false default of course (for packages). Added file(s): - files/patch-misc_config_botan-config.in Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- botan-1.6.5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/botan/files/patch-misc_config_botan-config.in /usr/home/lapo/ports/botan/files/patch-misc_config_botan-config.in --- /usr/ports/security/botan/files/patch-misc_config_botan-config.in 1970-01-01 01:00:00.000000000 +0100 +++ /usr/home/lapo/ports/botan/files/patch-misc_config_botan-config.in 2009-09-15 14:45:34.000000000 +0200 @@ -0,0 +1,11 @@ +--- misc/config/botan-config.in.orig 2009-09-15 14:45:00.000000000 +0200 ++++ misc/config/botan-config.in 2009-09-15 14:45:26.000000000 +0200 +@@ -39,7 +39,7 @@ while test $# -gt 0; do + exit 0 + ;; + --cflags) +- if [ $prefix != "/usr" -a $prefix != "/usr/local" ] ++ if [ $prefix != "/usr" ] + then + echo -I$prefix/$includedir + fi --- botan-1.6.5.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?4AAF8F62.7010308>