diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-18 11:40:04 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-18 11:40:04 +0000 |
commit | e7b0f977880ef8195d7b8ce851146f778c158ba1 (patch) | |
tree | 6b707abf8d8621e9bcb4f385129f5e95769e9154 /textproc/gsed | |
parent | 320c5b87e065a7e118c8bfd65faf7ccc7d3b8310 (diff) | |
download | ports-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/gsed')
-rw-r--r-- | textproc/gsed/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 28b0f0c2e75b..6fea24020a08 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: sed -# Date created: 12 October 2000 -# Whom: Cyrille Lefevre <clefevre@citeweb.net> -# +# Created by: Cyrille Lefevre <clefevre@citeweb.net> # $FreeBSD$ -# PORTNAME= sed PORTVERSION= 4.2.1 @@ -19,6 +15,7 @@ COMMENT= The GNU stream editor GNU_CONFIGURE= yes CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split" +USES= charsetfix PATCH_SUBDIRS= . doc lib sed DATADIR= ${PREFIX}/share/${PKGBASE} SAMP_FILES= binary*.sed dc.sed |