blob: 78ada54092c7cad2d703ac4521f6e77a4f1a0cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$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
|