pkgsrc/www/lhs/patches/patch-configure
ryoon 126ff0539d * Fix build on Solaris
* Patches are regen
2012-12-26 17:12:57 +00:00

19 lines
563 B
Text

$NetBSD: patch-configure,v 1.1 2012/12/26 17:12:57 ryoon Exp $
* Catch LIBS from pkgsrc Makefile
--- configure.orig 2001-02-25 14:24:03.000000000 +0000
+++ configure
@@ -1,5 +1,4 @@
#!/bin/sh
-LIBS=
rm -f Makefile config.h
if [ -f /usr/include/netinet/ip6.h ]; then
echo "#define USE_IPV6" >> config.h
@@ -10,4 +9,4 @@ if [ -f /usr/include/openssl/ssl.h ]; th
echo "openssl includes found."
LIBS="$LIBS -lssl -lcrypto"
fi
-sed "s/#LIBS#/$LIBS/g" < Makefile.in > Makefile
\ No newline at end of file
+sed "s/#LIBS#/$LIBS/g" < Makefile.in > Makefile