From 6f0a420809a9695d397a20912c5eeb14b78924e2 Mon Sep 17 00:00:00 2001 From: sbd Date: Thu, 5 Apr 2012 02:58:24 +0000 Subject: Mark packages as BROKEN if using "pkg" package format on Linux. --- textproc/aspell-faroese/Makefile | 7 ++++++- textproc/aspell-norwegian/Makefile | 7 ++++++- textproc/aspell-portuguese/Makefile | 7 ++++++- textproc/aspell-romanian/Makefile | 7 ++++++- textproc/aspell-spanish/Makefile | 7 ++++++- 5 files changed, 30 insertions(+), 5 deletions(-) diff --git a/textproc/aspell-faroese/Makefile b/textproc/aspell-faroese/Makefile index 9fbc7c03f99..793558a4479 100644 --- a/textproc/aspell-faroese/Makefile +++ b/textproc/aspell-faroese/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2011/04/22 13:44:47 obache Exp $ +# $NetBSD: Makefile,v 1.17 2012/04/05 02:58:24 sbd Exp $ DISTNAME= aspell-fo-0.2.38 PKGNAME= ${DISTNAME:C/-fo-/-faroese-/} @@ -18,5 +18,10 @@ REPLACE_PERL= unsq INSTALLATION_DIRS= lib/aspell share/aspell +.include "../../mk/bsd.prefs.mk" +.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux" +BROKEN= Can not be packaged on Linux +.endif + .include "../../textproc/aspell/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/aspell-norwegian/Makefile b/textproc/aspell-norwegian/Makefile index c98ede4bfff..7977d0a0188 100644 --- a/textproc/aspell-norwegian/Makefile +++ b/textproc/aspell-norwegian/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2011/04/22 13:44:48 obache Exp $ +# $NetBSD: Makefile,v 1.15 2012/04/05 02:58:24 sbd Exp $ # DISTNAME= aspell-nb-0.50.1-0 @@ -16,5 +16,10 @@ PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" +.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux" +BROKEN= Can not be packaged on Linux +.endif + .include "../../textproc/aspell/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/aspell-portuguese/Makefile b/textproc/aspell-portuguese/Makefile index 276cf921e1f..7754648cbd2 100644 --- a/textproc/aspell-portuguese/Makefile +++ b/textproc/aspell-portuguese/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/04/22 13:44:48 obache Exp $ +# $NetBSD: Makefile,v 1.16 2012/04/05 02:58:24 sbd Exp $ # DISTNAME= aspell-pt-0.50-2 @@ -16,5 +16,10 @@ PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" +.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux" +BROKEN= Can not be packaged on Linux +.endif + .include "../../textproc/aspell/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/aspell-romanian/Makefile b/textproc/aspell-romanian/Makefile index ff7c2eebe57..b36b6808d1e 100644 --- a/textproc/aspell-romanian/Makefile +++ b/textproc/aspell-romanian/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/04/22 13:44:48 obache Exp $ +# $NetBSD: Makefile,v 1.16 2012/04/05 02:58:24 sbd Exp $ # DISTNAME= aspell-ro-0.50-2 @@ -16,5 +16,10 @@ PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" +.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux" +BROKEN= Can not be packaged on Linux +.endif + .include "../../textproc/aspell/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/aspell-spanish/Makefile b/textproc/aspell-spanish/Makefile index 47e3831ea9c..54db37545db 100644 --- a/textproc/aspell-spanish/Makefile +++ b/textproc/aspell-spanish/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/04/22 13:44:48 obache Exp $ +# $NetBSD: Makefile,v 1.16 2012/04/05 02:58:25 sbd Exp $ # DISTNAME= aspell-es-0.50-2 @@ -16,5 +16,10 @@ PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" +.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux" +BROKEN= Can not be packaged on Linux +.endif + .include "../../textproc/aspell/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3