pkgsrc/sysutils/socket/patches/patch-aa
2005-10-04 16:08:40 +00:00

40 lines
1,015 B
Text

$NetBSD: patch-aa,v 1.6 2005/10/04 16:08:40 tron Exp $
--- Makefile.orig 1992-09-10 15:59:31.000000000 +0100
+++ Makefile 2005-10-04 17:07:16.000000000 +0100
@@ -8,7 +8,7 @@
### socket.1 in /usr/local/man/man1/socket.1
### Make sure the target directories exist before doing a "make install".
-INSTALLBASE = /usr/local
+INSTALLBASE = ${PREFIX}
INSTALLBINPATH = $(INSTALLBASE)/bin
INSTALLBINMODE = 755
INSTALLMANPATH = $(INSTALLBASE)/man
@@ -117,7 +117,7 @@
clean: +clean $(ALLTARGETS)
+all:
- @-if [ -n "$(ALLTARGETS)" ]; \
+ @if [ -n "$(ALLTARGETS)" ]; \
then : ; \
else \
$(MAKE) ALLTARGETS="subsystems targets" MAINTARGET=all \
@@ -137,7 +137,7 @@
fi
+install:
- @-if [ -n "$(ALLTARGETS)" ]; \
+ @if [ -n "$(ALLTARGETS)" ]; \
then : ; \
else \
$(MAKE) ALLTARGETS="subsystems installtargets" \
@@ -158,7 +158,7 @@
fi
+clean:
- @-if [ -n "$(ALLTARGETS)" ]; \
+ @if [ -n "$(ALLTARGETS)" ]; \
then : ; \
else \
$(MAKE) ALLTARGETS="subsystems doclean" MAINTARGET=clean \