aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/diffutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-18 19:40:04 +0800
committerbapt <bapt@FreeBSD.org>2013-03-18 19:40:04 +0800
commitcd6cb91f6fc3a0aea1f5f46650af0a4b87487f59 (patch)
tree6b707abf8d8621e9bcb4f385129f5e95769e9154 /textproc/diffutils
parent884ad2690ee76c497ad1c40bb4dac951731a4bbb (diff)
downloadfreebsd-ports-gnome-cd6cb91f6fc3a0aea1f5f46650af0a4b87487f59.tar.gz
freebsd-ports-gnome-cd6cb91f6fc3a0aea1f5f46650af0a4b87487f59.tar.zst
freebsd-ports-gnome-cd6cb91f6fc3a0aea1f5f46650af0a4b87487f59.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
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