freebsd-ports/security/slush/files/patch-aa
Kris Kennaway cda9d9b14a USE_OPENSSL
Assisted by:    Jim Bloom <bloom@acm.org>
2000-02-06 22:25:15 +00:00

22 lines
675 B
Text

--- Makefile.in.orig Tue Apr 6 01:05:04 1999
+++ Makefile.in Sat Jan 29 16:23:51 2000
@@ -9,8 +9,8 @@
CC=@CC@
INSTALL=@INSTALL@
-CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/ssl/include -I/usr/include/ssl
-LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto
+CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I$(OPENSSLINC) -I$(OPENSSLINC)/openssl -I$(LOCALBASE)/include
+LIBS=@LIBS@ -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS) -lutil
all: slush slushd
@@ -38,7 +38,7 @@
install: $(SBINDIR)/slushd $(MANDIR)/slush.8
cert:
- ssleay req -new -x509 -nodes \
+ openssl req -new -x509 -nodes \
-out slushd.pem -days 365 -keyout slushd.pem
clean: