aboutsummaryrefslogtreecommitdiff
path: root/textproc/diffutils
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-18 11:40:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-18 11:40:04 +0000
commite7b0f977880ef8195d7b8ce851146f778c158ba1 (patch)
tree6b707abf8d8621e9bcb4f385129f5e95769e9154 /textproc/diffutils
parent320c5b87e065a7e118c8bfd65faf7ccc7d3b8310 (diff)
downloadports-e7b0f977880ef8195d7b8ce851146f778c158ba1.tar.gz
ports-e7b0f977880ef8195d7b8ce851146f778c158ba1.zip
Fix a long standing bug of lib/charset.alias being overwritten, modified, and badly tracked by ports.
Make lib/charset.alias a file only provided by converters/libiconv Create a new USES: charsetfix, that will modify in post patch the Makefile.in to prevent a port from modifying/overwritting the charset.alias file during make install. Prevent devel/gettext from installing that files. Fix a couple of ports that actually touch charset.alias during the build phase. Based on a patch by ale (http://lists.freebsd.org/pipermail/freebsd-gnome/2012-October/027747.html) Approved by: kwm (gnome) Exp-run by: miwi
Notes
Notes: svn path=/head/; revision=314556
Diffstat (limited to 'textproc/diffutils')
-rw-r--r--textproc/diffutils/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index 160ab9f56b05..e6e8ea039133 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: diffutils
-# Date created: 5 September 2001
-# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
-#
+# Created by: Garrett Rooney <rooneg@electricjellyfish.net>
# $FreeBSD$
-#
PORTNAME= diffutils
PORTVERSION= 3.2
@@ -16,6 +12,7 @@ COMMENT= The GNU diff utilities
LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv
+USES= charsetfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g