Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2014 16:52:32 +0200 (CEST)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189244: [patch] Mk/bsd.sanity.mk: deprecate USE_AUTOTOOLS=libtool.
Message-ID:  <201405021452.s42EqWcQ018623@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201405021500.s42F02Ct039103@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189244
>Category:       ports
>Synopsis:       [patch] Mk/bsd.sanity.mk: deprecate USE_AUTOTOOLS=libtool.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 15:00:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
Mark USE_AUTOTOOLS=libtool and USE_GNOME=ltverhack deprecated in favor
of USES=libtool.
>How-To-Repeat:
>Fix:

--- bsd.sanity.mk.patch begins here ---
Index: Mk/bsd.sanity.mk
===================================================================
--- Mk/bsd.sanity.mk	(revision 352745)
+++ Mk/bsd.sanity.mk	(working copy)
@@ -55,10 +55,6 @@ DEV_WARNING+=	"USE_GNOME=gnomehack is de
 DEV_WARNING+=	"USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils"
 .endif
 
-#.if defined(USE_GNOME) && ${USE_GNOME:Mltverhack*}
-#DEV_WARNING+=	"USE_GNOME=ltverhack is now useless LIB_DEPENDS can properly handle all kind of library version"
-#.endif
-
 .if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*}
 DEV_WARNING+=	"Please use the new format for LIB_DEPENDS, see handbook for details"
 .endif
@@ -112,6 +108,14 @@ DEV_WARNING+=	"USE_PYDISTUTILS=easy_inst
 DEV_WARNING+=	"PYDISTUTILS_PKGNAME has no effect for USE_PYDISTUTILS=yes and PYDISTUTILS_AUTOPLIST=yes"
 .endif
 
+.if defined(USE_AUTOTOOLS) && (${USE_AUTOTOOLS:Mlibtool} || ${USE_AUTOTOOLS:Mlibtool\:env})
+DEV_WARNING+=	"USE_AUTOTOOLS=libtool is deprecated, please use USES=libtool"
+.endif
+
+.if defined(USE_GNOME) && ${USE_GNOME:Mltverhack*}
+DEV_WARNING+=	"USE_GNOME=ltverhack is deprecated, please use USES=libtool"
+.endif
+
 SANITY_UNSUPPORTED=	USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
 		USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
 		USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \
--- bsd.sanity.mk.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405021452.s42EqWcQ018623>