freebsd-ports/security/zebedee/files/patch-aa
Daniel Baker 72da6d0feb Update: 2.2.1
Submitted by:	Greg Hewgill <greg@hewgill.com>
2001-02-11 17:25:09 +00:00

56 lines
1.3 KiB
Text

--- Makefile.orig Tue Feb 6 15:43:58 2001
+++ Makefile Tue Feb 6 15:44:36 2001
@@ -3,7 +3,7 @@
#
# $Id: Makefile,v 1.19 2000/10/18 20:55:53 nwinton Exp nwinton $
-OS =
+OS = freebsd
###
### Locations of tools, libraries and installation directories.
@@ -24,7 +24,7 @@
# Optimise/debug compilation
#OPTIM = -Wall -g
-OPTIM = -O3
+OPTIM =
# Location of gmp include and library
#
@@ -36,19 +36,19 @@
# Location of Blowfish include and library
-BFINC = -I../blowfish-0.9.5a
-BFLIB = ../blowfish-0.9.5a/libblowfish.a
+BFINC = -I${OPENSSLINC} -I${OPENSSLINC}/openssl
+BFLIB = ${OPENSSLLIB}/libcrypto.a
# Location of zlib include and library
-ZINC = -I../zlib-1.1.3
-ZLIB = ../zlib-1.1.3/libz.a
+ZINC =
+ZLIB = -lz
# Location of bzlib include and library
# Set these empty if you don't want bzib2 support
-BZINC = -I../bzip2-1.0.1
-BZLIB = ../bzip2-1.0.1/libbz2.a
+BZINC = -I${LOCALBASE}/include
+BZLIB = ${LOCALBASE}/lib/libbz2.a
#
# Tools needed for Perl "POD"-format documentation conversion.
@@ -133,7 +133,8 @@
#### You REALLY shouldn't have to modify anything beyond here ...
####
-CFLAGS = $(OPTIM) $(DEFINES) -I. $(GMPINC) $(BFINC) $(ZINC) $(BZINC)
+CFLAGS ?= -O3
+CFLAGS += $(OPTIM) $(DEFINES) -I. $(GMPINC) $(BFINC) $(ZINC) $(BZINC)
LIBS = $(GMPLIB) $(BFLIB) $(ZLIB) $(BZLIB) $(OSLIBS)