summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-06-04 05:25:38 +0000
committerreed <reed@pkgsrc.org>2004-06-04 05:25:38 +0000
commit631e46a39676e245aa74996ad84364d01c0be2d9 (patch)
treebcd5f8736a9e7711fd37d2b2d9239be57830295d /converters
parentd053f8cd8ca4eda23a8bac53f5a1f7af5c96a9af (diff)
downloadpkgsrc-631e46a39676e245aa74996ad84364d01c0be2d9.tar.gz
Fail if this package is to be built under Linux. This is normal
for Linux. Most (all?) Linux distros don't provide a libiconv package, because GLIBC's iconv support is good enough. At this time, using PKG_FAIL_REASON instead of PKG_SKIP_REASON so we can catch examples of packages depending on this. The builtin.mk was improved to help stop it from being used under Linux. This was okayed by Rene Hexel, the maintainer. Todo: fix abiword build because it should not require this libiconv package under Linux.
Diffstat (limited to 'converters')
-rw-r--r--converters/libiconv/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 118b8f8cef1..b700f04ab92 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/04/28 15:19:04 tv Exp $
+# $NetBSD: Makefile,v 1.27 2004/06/04 05:25:38 reed Exp $
#
DISTNAME= libiconv-1.9.1
@@ -10,6 +10,12 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libiconv/
COMMENT= Character set conversion library
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+# don't use PKG_SKIP_REASON yet so we can make sure the buildlinking is correct
+PKG_FAIL_REASON+= "${PKGNAME} is not needed for Linux; it is included in GNU libc."
+.endif
+
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES