openbsd-ports/security/stel/patches/patch-ab
1998-11-19 03:22:35 +00:00

41 lines
1.1 KiB
Plaintext

--- stel/Makefile.orig Sat May 4 12:05:16 1996
+++ stel/Makefile Mon Nov 16 23:31:22 1998
@@ -48,14 +48,11 @@
CC = gcc
DEFS = -DGENERICLOGIN -DCOMBOFLAG $(SYSDEFS) ### -DSECURID
-INCDIRS = -I$(DESDIR) -I$(DESCOREDIR) -I$(SKEYDIR) -I$(GMPDIR) $(OTHERINCDIR) ### -I$(SDIDIR)
+INCDIRS = -I$(DESCOREDIR) $(OTHERINCDIR) ### -I$(SDIDIR)
-DESDIR = ../libdes
DESCOREDIR = ../descore
#DESCORELIB = -ldescore
-SKEYDIR = ../skey
-GMPDIR = ../gmp-1.3.2
GNUREGEX = ../regex-0.12
# SOCKS support
@@ -70,9 +67,9 @@
CFLAGS = -g $(OPTIMIZE) -fwritable-strings $(DEFS) $(INCDIRS)
-LDFLAGS = -g $(OPTIMIZE) -L$(DESDIR) -L$(DESCOREDIR) \
- -L$(GMPDIR) -L$(SKEYDIR) $(SOCKSLIB) $(OTHERLIBDIR) -lskey -ldes \
- -lgmp $(SYSLIBS) -lm -lsocks
+LDFLAGS = -g $(OPTIMIZE) -L$(DESCOREDIR) \
+ $(SOCKSLIB) $(OTHERLIBDIR) -lskey -ldes \
+ -lgmp $(SYSLIBS) -lm ## -lsocks
S5R3OBJ = utmp_init.o utmp_login.o utmp_logout.o updwtmp.o
@@ -203,7 +200,7 @@
lint :
lint \
-DIDEA32 -DHIGHFIRST -DLOGPRI=LOG_INFO -DOFFSET_T=long \
- -I$(DESDIR) -I$(DESCOREDIR) -I$(SKEYDIR) -I$(GMPDIR) $(DEFS) $(SRC)
+ -I$(DESCOREDIR) $(DEFS) $(SRC)
wc :
wc -l $(SRC) $(HDR)