summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2/files/patch-src::configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gkrellm2/files/patch-src::configure')
-rw-r--r--sysutils/gkrellm2/files/patch-src::configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/gkrellm2/files/patch-src::configure b/sysutils/gkrellm2/files/patch-src::configure
new file mode 100644
index 000000000000..9518c7169f7c
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-src::configure
@@ -0,0 +1,26 @@
+Index: src/configure
+diff -u src/configure.orig src/configure
+--- src/configure.orig Tue May 10 03:54:30 2005
++++ src/configure Mon May 16 18:44:38 2005
+@@ -48,8 +48,8 @@
+ }
+ EOF
+
+-$CC ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
+-$CC test.o -o test ${PKG_LIBS} -lgnutls-openssl 2>& 5
++$CC ${PKG_INCLUDE} -I${GNUTLSINC} -c test.c -o test.o 2>& 5
++$CC test.o -o test ${PKG_LIBS} -L${GNUTLSLIB} -lgnutls-openssl 2>& 5
+
+ if [ -e ./test ] && ./test
+ then
+@@ -88,8 +88,8 @@
+ }
+ EOF
+
+-$CC ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
+-$CC test.o -o test ${PKG_LIBS} -lssl -lcrypto 2>& 5
++$CC ${PKG_INCLUDE} -I${OPENSSLINC} -c test.c -o test.o 2>& 5
++$CC test.o -o test ${PKG_LIBS} -L${OPENSSLLIB} -lssl -lcrypto 2>& 5
+
+ if [ -e ./test ] && ./test
+ then