1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Drop compatibility code for USE_DOS2UNIX

This commit is contained in:
Baptiste Daroussin 2014-05-26 09:29:50 +00:00
parent 912c68df95
commit a1ed68057d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355293
3 changed files with 6 additions and 14 deletions

View File

@ -10,6 +10,11 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20140526:
AUTHOR: bapt@FreeBSD.org
USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead
20140505:
AUTHOR: bapt@FreeBSD.org

View File

@ -1527,19 +1527,6 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
USES+= gmake
.endif
.if defined(USE_DOS2UNIX)
.if ${USE_DOS2UNIX:tu}=="YES"
DOS2UNIX_REGEX?= .*
.else
.if ${USE_DOS2UNIX:M*/*}
DOS2UNIX_FILES+= ${USE_DOS2UNIX}
.else
DOS2UNIX_GLOB+= ${USE_DOS2UNIX}
.endif
.endif
USES+= dos2unix
.endif
.if !defined(UID)
UID!= ${ID} -u
.endif

View File

@ -91,7 +91,7 @@ DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice"
.endif
.if defined(USE_DOS2UNIX)
DEV_WARNING+= "USE_DOS2UNIX is deprecated, please use USES=dos2unix"
DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix"
.endif
.if defined(LICENSE)