mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add some comments around the USE_* macros indicating they are now
obsolete, and new ports should not use them.
This commit is contained in:
parent
806103504e
commit
158db10471
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78545
@ -431,6 +431,9 @@ HAVE_GNOME+= ${component}
|
||||
|
||||
.if defined(_POSTMKINCLUDED)
|
||||
|
||||
# DO NOT USE THESE MACROS! They are obsolete, and only provided for
|
||||
# backward compatibility with old ports that have not converted to the new
|
||||
# GNOME infrastructure.
|
||||
.if defined(USE_GTK)
|
||||
USE_GNOME= gtk12
|
||||
.endif
|
||||
@ -440,11 +443,11 @@ USE_GNOME= esound
|
||||
.if defined(USE_IMLIB)
|
||||
USE_GNOME= imlib
|
||||
.endif
|
||||
# End of obsolete macros
|
||||
|
||||
# Hack USE_GNOME to the modular infrastructure for port maintainers that
|
||||
# didn't do so themselves. This will allow us to get rid of the old
|
||||
# GNOME porting infrastructure more quickly.
|
||||
.if defined(USE_GNOME)
|
||||
# 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"
|
||||
USE_GNOME=gnomeprefix gnomehack gtkhtml libpanel
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user