pkgsrc-ng/www/lhs/patches/patch-configure
2013-09-26 17:14:40 +02:00

20 lines
563 B
Plaintext

$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