summaryrefslogtreecommitdiff
path: root/www/aws/patches/patch-demos_test__ldap_test__ldap.gpr
diff options
context:
space:
mode:
Diffstat (limited to 'www/aws/patches/patch-demos_test__ldap_test__ldap.gpr')
-rw-r--r--www/aws/patches/patch-demos_test__ldap_test__ldap.gpr13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/aws/patches/patch-demos_test__ldap_test__ldap.gpr b/www/aws/patches/patch-demos_test__ldap_test__ldap.gpr
index 0423a453a07..ec2d65efec5 100644
--- a/www/aws/patches/patch-demos_test__ldap_test__ldap.gpr
+++ b/www/aws/patches/patch-demos_test__ldap_test__ldap.gpr
@@ -1,11 +1,16 @@
---- demos/test_ldap/test_ldap.gpr.orig 2011-01-25 20:53:15.000000000 +0000
+$NetBSD: patch-demos_test__ldap_test__ldap.gpr,v 1.3 2013/07/07 23:46:50 marino Exp $
+
+Add -L$PREFIX/lib to linker flags to fix build.
+
+--- demos/test_ldap/test_ldap.gpr.orig 2013-07-03 01:11:54.000000000 +0000
+++ demos/test_ldap/test_ldap.gpr
-@@ -42,7 +42,7 @@ project Test_LDAP is
+@@ -35,7 +35,8 @@ project Test_LDAP is
when "Windows_NT" =>
for Default_Switches ("Ada") use ("-lwldap32");
when others =>
-- for Default_Switches ("Ada") use ("-lldap");
-+ for Default_Switches ("Ada") use ("-L@PREFIX@/lib", "-lldap", "-llber");
+- for Default_Switches ("Ada") use ("-lldap", "-llber");
++ for Default_Switches ("Ada") use ("-L@PREFIX@/lib",
++ "-lldap", "-llber");
end case;
end Linker;