diff options
author | smace <smace@FreeBSD.org> | 1998-09-17 06:47:43 +0800 |
---|---|---|
committer | smace <smace@FreeBSD.org> | 1998-09-17 06:47:43 +0800 |
commit | 733ce4f3bd84847fc6d041309ead971479045cf3 (patch) | |
tree | 2f75f13d208049a71d4a3b22ad9778a10e86f152 /security/tcp_wrapper | |
parent | f60e381e7f513d666c492706a4806f4b22a01daa (diff) | |
download | freebsd-ports-gnome-733ce4f3bd84847fc6d041309ead971479045cf3.tar.gz freebsd-ports-gnome-733ce4f3bd84847fc6d041309ead971479045cf3.tar.zst freebsd-ports-gnome-733ce4f3bd84847fc6d041309ead971479045cf3.zip |
Fix Package build for aout system
symlink .so in both elf and aout cases
Diffstat (limited to 'security/tcp_wrapper')
-rw-r--r-- | security/tcp_wrapper/files/patch-aa | 12 |
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 \ |