diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-01-25 14:46:10 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-01-25 14:46:10 +0000 |
commit | 074cd6325e125d95ad8a7d4361726ef60c3105a1 (patch) | |
tree | 3bcb175a8d50312a7abd3b81f488beebe17849e1 /mk | |
parent | ac68d7425bd60b6a7fe8e11ec28c072809b87d81 (diff) | |
download | pkgsrc-074cd6325e125d95ad8a7d4361726ef60c3105a1.tar.gz |
Re-move .if!defined(__ARCH_OK) to fix use of NO_IGNORE; document some .endif's
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 22 | ||||
-rw-r--r-- | mk/bsd.port.mk | 22 |
2 files changed, 22 insertions, 22 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 15f694e3ac9..28ddbd8f97d 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $NetBSD: bsd.pkg.mk,v 1.37 1998/01/25 14:39:49 hubertf Exp $ +# $NetBSD: bsd.pkg.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: 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: |