From: ajacoutot Date: Sat, 22 Apr 2017 14:00:30 +0000 (+0000) Subject: The gnome module supports cmake now. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e49b8a94dc44ad8af61ea631d60be52dceb29176;p=openbsd The gnome module supports cmake now. --- diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 718c22a9b22..3b3d166d0de 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.216 2017/04/11 11:01:28 espie Exp $ +.\" $OpenBSD: port-modules.5,v 1.217 2017/04/22 14:00:30 ajacoutot Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 11 2017 $ +.Dd $Mdocdate: April 22 2017 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -1588,6 +1588,13 @@ and also sets to Yes. .It www/zope .It x11/gnome +This module has full support for the +.Ar gnu , +.Ar simple +and +.Ar cmake +CONFIGURE_STYLE. +.Pp If both .Ev GNOME_PROJECT and @@ -1606,25 +1613,35 @@ Unless .Pa textproc/intltool is also appended to .Ev MODULES -and +and when CONFIGURE_STYLE is set to +.Ar gnu +or +.Ar simple , .Ev USE_GMAKE is set to "Yes". .Pp -If -.Ev CONFIGURE_STYLE -is set to "gnu" or "simple", -.Li CPPFLAGS="-I${LOCALBASE}/include" -and -.Li LDFLAGS="-L${LOCALBASE}/lib" -are appended to -.Ev CONFIGURE_ENV . -.Pp -If none of +When CONFIGURE_STYLE is set to +.Ar gnu +or +.Ar simple , +if none of .Ev AUTOCONF_VERSION nor .Ev AUTOMAKE_VERSION are defined, then "--disable-maintainer-mode" is appended to .Ev CONFIGURE_ARGS . +When CONFIGURE_STYLE is set to +.Ar cmake , +"-DENABLE_MAINTAINER_MODE=OFF" and -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} +are appended to CONFIGURE_ARGS. +.Pp +MODGNOME_CPPFLAGS and MODGNOME_LDFLAGS can be used to add compiler and linker +flags. +.Li CPPFLAGS="-I${LOCALBASE}/include" +and +.Li LDFLAGS="-L${LOCALBASE}/lib" +are always appended to +.Ev CONFIGURE_ENV . .Pp Certain build/run dependencies and configure arguments and environment can be set by appending desktop-file-utils, docbook, gobject-introspection,