openbsd-ports/devel/ElectricFence/patches/patch-add-ranlib
2001-03-26 09:22:10 +00:00

28 lines
637 B
Plaintext

$OpenBSD: patch-add-ranlib,v 1.2 2001/03/26 09:22:10 wilfried Exp $
--- Makefile.orig Fri Jan 20 06:33:04 1995
+++ Makefile Mon Mar 26 11:37:14 2001
@@ -1,12 +1,13 @@
ASFLAGS= -mips2
-CC= cc
+#CC= cc
AR= ar
INSTALL= install
MV= mv
CHMOD= chmod
-CFLAGS= -g
+#CFLAGS= -g
LIB_INSTALL_DIR= /usr/lib
MAN_INSTALL_DIR= /usr/man/man3
+RANLIB = ranlib
PACKAGE_SOURCE= README libefence.3 Makefile efence.h \
efence.c page.c print.c eftest.c tstheap.c CHANGES
@@ -60,6 +61,7 @@
libefence.a: $(OBJECTS)
- rm -f libefence.a
$(AR) crv libefence.a $(OBJECTS)
+ $(RANLIB) libefence.a
tstheap: libefence.a tstheap.o
- rm -f tstheap