summaryrefslogtreecommitdiff
path: root/security/tcp_wrapper
diff options
context:
space:
mode:
authorScott Mace <smace@FreeBSD.org>1998-09-16 22:47:43 +0000
committerScott Mace <smace@FreeBSD.org>1998-09-16 22:47:43 +0000
commitf2cbbbb5279d7724b10febe86e8d10efff82c723 (patch)
tree7152420060cab991a9f8fa74a33c7e3c4634d36c /security/tcp_wrapper
parentcorrect package build for aout system (diff)
Fix Package build for aout system
symlink .so in both elf and aout cases
Notes
Notes: svn path=/head/; revision=13187
Diffstat (limited to 'security/tcp_wrapper')
-rw-r--r--security/tcp_wrapper/files/patch-aa12
1 files changed, 5 insertions, 7 deletions
diff --git a/security/tcp_wrapper/files/patch-aa b/security/tcp_wrapper/files/patch-aa
index f90c70a71644..4b945b27a249 100644
--- a/security/tcp_wrapper/files/patch-aa
+++ b/security/tcp_wrapper/files/patch-aa
@@ -1,5 +1,5 @@
*** Makefile.orig Fri Mar 21 12:27:21 1997
---- Makefile Wed Sep 16 08:42:23 1998
+--- Makefile Wed Sep 16 17:41:52 1998
***************
*** 47,53 ****
#REAL_DAEMON_DIR=/usr/sbin
@@ -191,7 +191,7 @@
# Invalidate all object files when the compiler options (CFLAGS) have changed.
---- 690,726 ----
+--- 690,724 ----
refuse.c tcpdchk.8 setenv.c inetcf.c inetcf.h scaffold.c \
scaffold.h tcpdmatch.8 README.NIS
@@ -209,9 +209,7 @@
! tcpd.h ${PREFIX}/include
! ${INSTALL} -o ${BINOWN} -g ${BINGRP} -c -m 644 \
! $(LIB) $(SLIB) ${PREFIX}/lib
-! .if ${PORTOBJFORMAT} == elf
! (cd ${PREFIX}/lib;ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`)
-! .endif
! ranlib ${PREFIX}/lib/$(LIB)
! ${INSTALL} -o ${BINOWN} -g ${BINGRP} -cs -m ${BINMODE} \
! tcpd ${PREFIX}/libexec
@@ -258,7 +256,7 @@
shar: $(KIT)
@shar $(KIT)
---- 737,772 ----
+--- 735,770 ----
$(AR) $(ARFLAGS) $(LIB) $(LIB_OBJ)
-$(RANLIB) $(LIB)
@@ -266,10 +264,10 @@
! rm -f $(SLIB)
! .if ${PORTOBJFORMAT} == elf
! $(CC) -o $(SLIB) -shared -Wl,-soname,$(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
-! ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`
! .else
! ld -Bshareable -o $(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
! .endif
+! ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`
!
! tcpd: tcpd.o $(SLIB)
! $(CC) $(CFLAGS) -o $@ tcpd.o -L. -lwrap $(LIBS)
@@ -304,7 +302,7 @@
tidy: clean
chmod -R a+r .
---- 782,788 ----
+--- 780,786 ----
clean:
rm -f tcpd miscd safe_finger tcpdmatch tcpdchk try-from *.[oa] core \