summaryrefslogtreecommitdiff
path: root/security/libfwbuilder/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/libfwbuilder/patches/patch-aa')
-rw-r--r--security/libfwbuilder/patches/patch-aa37
1 files changed, 37 insertions, 0 deletions
diff --git a/security/libfwbuilder/patches/patch-aa b/security/libfwbuilder/patches/patch-aa
new file mode 100644
index 00000000000..b9fd1cf72e5
--- /dev/null
+++ b/security/libfwbuilder/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/06 18:04:40 agc Exp $
+
+--- acinclude.m4.old Sun Jun 1 05:25:09 2003
++++ acinclude.m4 Sun Jun 1 05:25:31 2003
+@@ -81,19 +81,19 @@
+ ],[
+ echo
+
+-dnl if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
+-dnl unset ac_cv_lib_snmp_init_snmp
+-dnl fi
+-dnl
+-dnl save_LIBS="$LIBS"
+-dnl LIBS="$LIBS -ldes"
+-dnl AC_CHECK_LIB($ac_snmplib_name, init_snmp,
+-dnl [
+-dnl LIBS="$save_LIBS"
+-dnl LIBSNMP_LIBS="-ldes -l$ac_snmplib_name"
+-dnl HAVE_LIBSNMP="1"
+-dnl AC_DEFINE(HAVE_LIBSNMP)
+-dnl ])
++ if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
++ unset ac_cv_lib_snmp_init_snmp
++ fi
++
++ save_LIBS="$LIBS"
++ LIBS="$LIBS -ldes"
++ AC_CHECK_LIB($ac_snmplib_name, init_snmp,
++ [
++ LIBS="$save_LIBS"
++ LIBSNMP_LIBS="-ldes -l$ac_snmplib_name"
++ HAVE_LIBSNMP="1"
++ AC_DEFINE(HAVE_LIBSNMP)
++ ])
+ ])
+ ])
+