diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-09 01:04:52 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-09 01:04:52 +0800 |
commit | c7a7c9d47d8ae5c5062758d71cc419e52834679f (patch) | |
tree | a95926912472d979fdf912af3d32ca7936a465ab | |
parent | 1efdac326734cfd94e7f7a7f45e33594543f4798 (diff) | |
download | marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar.gz marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar.bz2 marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar.lz marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar.xz marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.tar.zst marcuscom-ports-c7a7c9d47d8ae5c5062758d71cc419e52834679f.zip |
* Issue warnings when USE_GTK is defined, or when USE_GNOME=yes is used.
This could be controversial.
* Update the message spat out when configure fails to tell you to just run
the gnomelogalyzer, rather than piping the output to a file and blah blah
blah.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4050 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | Mk/bsd.gnome.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index ca9843db7..9f6d940da 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -571,6 +571,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. USE_GNOME+= gtk12 .endif # End of obsolete macros @@ -579,6 +580,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 USE_GNOME:= ${USE_GNOME:S/yes//} USE_GNOME+= gnomeprefix gnomehack gtkhtml . endif @@ -672,7 +674,7 @@ PLIST_SUB+= GNOMEDESKTOP:="@comment " NOGNOMEDESKTOP:="" .endif .if ${MAINTAINER}=="gnome@FreeBSD.org" -CONFIGURE_FAIL_MESSAGE= "Please direct the output of the failure of the make command to a file, and then feed that file to the gnomelogalyzer, available from "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the problem to the FreeBSD GNOME team at ${MAINTAINER}, and attach \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" and the output of the failure of the make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an \`ls ${PKG_DBDIR}\`)." +CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failure of the make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`)." .endif .if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) |