summaryrefslogtreecommitdiff
path: root/mk/bsd.port.mk
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-01-25 14:46:10 +0000
committerhubertf <hubertf>1998-01-25 14:46:10 +0000
commitaf70bdf4573a1560fe433c26c5e931087903f251 (patch)
tree3bcb175a8d50312a7abd3b81f488beebe17849e1 /mk/bsd.port.mk
parent2d7542d19b26c32e72128a88f464d78dc4edcd7c (diff)
downloadpkgsrc-af70bdf4573a1560fe433c26c5e931087903f251.tar.gz
Re-move .if!defined(__ARCH_OK) to fix use of NO_IGNORE; document some .endif's
Diffstat (limited to 'mk/bsd.port.mk')
-rw-r--r--mk/bsd.port.mk22
1 files changed, 11 insertions, 11 deletions
diff --git a/mk/bsd.port.mk b/mk/bsd.port.mk
index b2f3bb1ebf2..65bdb1f61bb 100644
--- a/mk/bsd.port.mk
+++ b/mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $NetBSD: bsd.port.mk,v 1.37 1998/01/25 14:39:49 hubertf Exp $
+# $NetBSD: bsd.port.mk,v 1.38 1998/01/25 14:46:10 hubertf Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -870,14 +870,6 @@ IGNORE= "uses X11, but ${X11BASE} not found"
IGNORE= "is marked as broken: ${BROKEN}"
.endif
-.if !defined(__ARCH_OK)
-.MAIN: all
-
-fetch fetch-list extract patch configure build install reinstall package describe checkpatch checksum makesum all:
- @echo "This port is only for ${ONLY_FOR_ARCHS},"
- @echo "and you are running ${MACHINE_ARCH}."
-.else
-
.if defined(IGNORE)
.if defined(IGNORE_SILENT)
IGNORECMD= ${DO_NADA}
@@ -902,8 +894,16 @@ install:
@${IGNORECMD}
package:
@${IGNORECMD}
-.endif
-.endif
+.endif # IGNORE
+.endif # !NO_IGNORE
+
+.if !defined(__ARCH_OK)
+.MAIN: all
+
+fetch fetch-list extract patch configure build install reinstall package describe checkpatch checksum makesum all:
+ @echo "This port is only for ${ONLY_FOR_ARCHS},"
+ @echo "and you are running ${MACHINE_ARCH}."
+.else
.if defined(ALL_HOOK)
all: