openbsd-ports/security/botan/patches/patch-src_build-data_botan-config_in

20 lines
697 B
Plaintext

$OpenBSD: patch-src_build-data_botan-config_in,v 1.2 2011/11/26 10:55:17 ajacoutot Exp $
--- src/build-data/botan-config.in.orig Sun Oct 9 20:19:40 2011
+++ src/build-data/botan-config.in Sun Oct 9 20:20:28 2011
@@ -46,13 +46,13 @@ while test $# -gt 0; do
exit 0
;;
--cflags)
- if [ $prefix != "/usr" -a $prefix != "/usr/local" ]
+ if [ $prefix != "/usr" ]
then
echo -I$prefix/$includedir
fi
;;
--libs)
- if [ $prefix != "/usr" -a $prefix != "/usr/local" ]
+ if [ $prefix != "/usr" ]
then
echo -L$prefix/$libdir -lbotan-%{version_major}.%{version_minor} %{link_to}
else