From 0f1157d7e6cabe0394ffc35a0a58a30507af8ebd Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 12 Oct 2006 08:11:08 +0200 Subject: applied BSD support patch --- config.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 48eef1f..0333587 100644 --- a/config.mk +++ b/config.mk @@ -15,11 +15,14 @@ INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# On *BSD remove -DHAVE_SHADOW_H from CFLAGS +# On OpenBSD remove -lcrypt from LIBS + # compiler and linker CC = cc LD = ${CC} -- cgit v1.2.3-70-g09d2