summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsmace <smace@FreeBSD.org>1998-09-15 14:57:29 +0000
committersmace <smace@FreeBSD.org>1998-09-15 14:57:29 +0000
commit6da525fde3d17300573b478127ee5db34f1ddce5 (patch)
tree44f01e0457b7852f5bf06e23fcdc127550af8b73 /security
parent948161f4b81ec303262d932617c92ae965191ece (diff)
downloadFreeBSD-ports-6da525fde3d17300573b478127ee5db34f1ddce5.zip
FreeBSD-ports-6da525fde3d17300573b478127ee5db34f1ddce5.tar.gz
make tcp_wrapper build on a non-elf system
Diffstat (limited to 'security')
-rw-r--r--security/tcp_wrapper/files/patch-aa10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/tcp_wrapper/files/patch-aa b/security/tcp_wrapper/files/patch-aa
index d0d21b6..817875a 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 Mon Sep 14 22:41:29 1998
+--- Makefile Tue Sep 15 09:55:40 1998
***************
*** 47,53 ****
#REAL_DAEMON_DIR=/usr/sbin
@@ -252,13 +252,17 @@
shar: $(KIT)
@shar $(KIT)
---- 731,762 ----
+--- 731,766 ----
$(AR) $(ARFLAGS) $(LIB) $(LIB_OBJ)
-$(RANLIB) $(LIB)
! $(SLIB): $(LIB_OBJ:S/o$/so/g) shdata.so
! rm -f $(SLIB)
+! .if defined(PORTOBJFORMAT) && ${PORTOBJFORMAT} == elf
! $(CC) -o $(SLIB) -shared -Wl,-soname,$(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.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)
@@ -294,7 +298,7 @@
tidy: clean
chmod -R a+r .
---- 772,778 ----
+--- 776,782 ----
clean:
rm -f tcpd miscd safe_finger tcpdmatch tcpdchk try-from *.[oa] core \
OpenPOWER on IntegriCloud