aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-12-18 03:36:58 +0800
committerume <ume@FreeBSD.org>2003-12-18 03:36:58 +0800
commita8cbfda1f877405a712156cc6dc46bb758f7cd33 (patch)
treeb3fd62402137abb813c7c42ac306aa4c8a1f90a5
parent597074b19af383f7451c5cc2944e54bb06a15ea2 (diff)
downloadfreebsd-ports-graphics-a8cbfda1f877405a712156cc6dc46bb758f7cd33.tar.gz
freebsd-ports-graphics-a8cbfda1f877405a712156cc6dc46bb758f7cd33.tar.zst
freebsd-ports-graphics-a8cbfda1f877405a712156cc6dc46bb758f7cd33.zip
use USE_OPENSSL.
-rw-r--r--sysutils/gkrellm2/Makefile1
-rw-r--r--sysutils/gkrellm2/files/patch-src:Makefile20
2 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 10c6498fc84..f54848d8822 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -31,6 +31,7 @@ USE_GNOME= glib12
.else
USE_GNOME= gtk20
USE_XLIB= yes
+USE_OPENSSL= yes
.endif
USE_BZIP2= yes
diff --git a/sysutils/gkrellm2/files/patch-src:Makefile b/sysutils/gkrellm2/files/patch-src:Makefile
index 258c8816761..d90a5289645 100644
--- a/sysutils/gkrellm2/files/patch-src:Makefile
+++ b/sysutils/gkrellm2/files/patch-src:Makefile
@@ -1,13 +1,27 @@
Index: src/Makefile
diff -u src/Makefile.orig src/Makefile
---- src/Makefile.orig Fri Dec 12 03:31:04 2003
-+++ src/Makefile Sat Dec 13 14:29:56 2003
-@@ -44,7 +44,7 @@
+--- src/Makefile.orig Wed Dec 17 01:53:06 2003
++++ src/Makefile Thu Dec 18 04:30:43 2003
+@@ -31,7 +31,7 @@
+ HAVE_SSL = $(shell grep -c HAVE_SSL configure.h)
+
+ ifeq ($(HAVE_SSL),1)
+- SSL_LIBS ?= -lssl -lcrypto
++ SSL_LIBS ?= -L$(OPENSSLLIB) -lssl -lcrypto
+ else
+ EXTRAOBJS ?= md5c.o
+ endif
+@@ -45,8 +45,12 @@
PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0`
-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
+FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
FLAGS+= $(PTHREAD_INC)
++
++ifeq ($(HAVE_SSL),1)
++ FLAGS+= -I$(OPENSSLINC)
++endif
LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS) $(SSL_LIBS)
+