freebsd-ports/devel/patch/Makefile
Baptiste Daroussin e7b0f97788 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
2013-03-18 11:40:04 +00:00

25 lines
400 B
Makefile

# Created by: ache
# $FreeBSD$
PORTNAME= patch
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= patch
MAINTAINER= glarkin@FreeBSD.org
COMMENT= GNU patch utility
LICENSE= GPLv3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--program-prefix=g
USE_GMAKE= yes
USE_XZ= yes
USES= charsetfix
MAN1= gpatch.1
PLIST_FILES= bin/gpatch
.include <bsd.port.mk>