summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorreed <reed>2004-06-04 05:25:38 +0000
committerreed <reed>2004-06-04 05:25:38 +0000
commit018f8dc2219335267af4ef95c323618bef21840b (patch)
treebcd5f8736a9e7711fd37d2b2d9239be57830295d /converters/libiconv
parent11421617a01520da7b5261be9ee0a4e7365a74b2 (diff)
downloadpkgsrc-018f8dc2219335267af4ef95c323618bef21840b.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/libiconv')
-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