You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/bcrypt/files/bcrypt-1.1-Makefile.patch

20 lines
570 B

--- Makefile.old 2006-11-23 13:58:19.000000000 +0100
+++ Makefile 2006-11-23 13:59:52.000000000 +0100
@@ -1,13 +1,12 @@
DEFAULTS = Makefile includes.h blowfish.h functions.h config.h
-CC = gcc
-CFLAGS = -O2 -Wall
+CFLAGS += -Wall
COMPILE = ${CC} ${CFLAGS}
OBJS = main.o blowfish.o rwfile.o keys.o wrapbf.o endian.o wrapzl.o
-LDFLAGS = -L/usr/local/lib -lz
+LIBS = -lz
PREFIX = /usr/local
bcrypt: ${OBJS} Makefile
- ${COMPILE} -o bcrypt ${OBJS} ${LDFLAGS}
+ ${COMPILE} ${LDFLAGS} -o bcrypt ${OBJS} ${LIBS}
install: bcrypt Makefile
mkdir -p ${PREFIX}/bin;\