diff options
Diffstat (limited to 'net/nettest/files/patch-Makefile')
| -rw-r--r-- | net/nettest/files/patch-Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/nettest/files/patch-Makefile b/net/nettest/files/patch-Makefile new file mode 100644 index 000000000000..fd16c80ee55a --- /dev/null +++ b/net/nettest/files/patch-Makefile @@ -0,0 +1,38 @@ +*** Makefile.orig Thu Nov 5 16:03:14 1992 +--- Makefile Mon Oct 20 12:50:14 1997 +*************** +*** 3,12 **** + FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8 + + all: +! @if [ -f /bin/hostname -o -f /usr/bin/hostname ]; then \ +! $(MAKE) `hostname`; \ +! elif [ -f /bin/uname ]; then \ +! $(MAKE) `uname -n`; \ + else \ + echo You must specify what machine you are on,;\ + echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\ +--- 3,10 ---- + FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8 + + all: +! @if [ -f /bin/uname -o -f /usr/bin/uname ]; then \ +! $(MAKE) `uname -s`; \ + else \ + echo You must specify what machine you are on,;\ + echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\ +*************** +*** 32,37 **** +--- 30,41 ---- + INCLUDE="-I." \ + DEFINES="-DWAIT3CODE -DNO_ISO" \ + LIBS="" OPT="-O" ++ ++ FreeBSD: ++ $(MAKE) objs \ ++ INCLUDE="" \ ++ DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO" \ ++ OPT="-O" LIBS="-lcompat" + + 4.4alpha: + $(MAKE) objs \ |
