freebsd-ports/sysutils/gkrellm2/files/patch-src::configure
Hajimu UMEMOTO fd2482c9d5 - Update to 2.2.6.
- Use GnuTLS by default.  You can still use OpenSSL by specifying
  WITH_OPENSSL=yes.
- Add WITHOUT_NLS knob to disable installing message catalogs.
- Shorten pkg-descr.
2005-05-16 12:43:10 +00:00

26 lines
745 B
Text

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