As nice as .warning is for telling ports they're doing A Bad Thing, it
is not generally available in all versions of make(1) (specifically, it was never ported to 4.X). This was causing INDEX builds to break on 4.X. Reported by: cperciva
This commit is contained in:
parent
1c1ad8c847
commit
88bd438cb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147382
@ -567,7 +567,7 @@ Gnome_Post_Include= bsd.gnome.mk
|
||||
# backward compatibility with old ports that have not converted to the new
|
||||
# GNOME infrastructure.
|
||||
.if defined(USE_GTK)
|
||||
.warning The USE_GTK macro is deprecated. It should be replaced by USE_GNOME=gtk12.
|
||||
#.warning The USE_GTK macro is deprecated. It should be replaced by USE_GNOME=gtk12.
|
||||
USE_GNOME+= gtk12
|
||||
.endif
|
||||
# End of obsolete macros
|
||||
@ -576,7 +576,7 @@ USE_GNOME+= gtk12
|
||||
# Hack USE_GNOME to the modular infrastructure for port maintainers that
|
||||
# didn't do so themselves. New ports should NOT set USE_GNOME=yes.
|
||||
. if ${USE_GNOME}=="yes"
|
||||
.warning The USE_GNOME=yes component is deprecated. It should be replaced by some combination of gnomeprefix, gnomehack, and gtkhtml
|
||||
#.warning The USE_GNOME=yes component is deprecated. It should be replaced by some combination of gnomeprefix, gnomehack, and gtkhtml
|
||||
USE_GNOME:= ${USE_GNOME:S/yes//}
|
||||
USE_GNOME+= gnomeprefix gnomehack gtkhtml
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user