[csw-devel] SF.net SVN: gar:[6097] csw/mgar/pkg/mtr/trunk/Makefile
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Mon Aug 24 02:17:06 CEST 2009
Revision: 6097
http://gar.svn.sourceforge.net/gar/?rev=6097&view=rev
Author: skayser
Date: 2009-08-24 00:17:06 +0000 (Mon, 24 Aug 2009)
Log Message:
-----------
mtr: added modulations for non-GUI/GUI, packaging needs further work (see TODO)
Modified Paths:
--------------
csw/mgar/pkg/mtr/trunk/Makefile
Modified: csw/mgar/pkg/mtr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mtr/trunk/Makefile 2009-08-23 22:34:32 UTC (rev 6096)
+++ csw/mgar/pkg/mtr/trunk/Makefile 2009-08-24 00:17:06 UTC (rev 6097)
@@ -1,12 +1,7 @@
-# Todo
+# TODO
# ----
-# * Build-machines pkg-config for GTK+-2.0 stuff is broken right now,
-# wait for it to become usable again to compile the regular CSWmtr pkg
-# ...
-# checking for GTK+ - version >= 2.4.0... sh: gnome-config: not found
-# see: http://lists.opencsw.org/pipermail/maintainers/2009-June/002893.html
-# http://lists.freebsd.org/pipermail/freebsd-gnome/2003-April/000453.html
-#
+# * Find a way to somehow package out of the install dirs, we don't need
+# merging for the two incompatible modulations/packages.
# * Revisit curses autoconf detection. Maybe have a chat with upstream
# as the README says that there are known, yet unsolved Solaris autoconf
# recipe problems
@@ -48,21 +43,28 @@
$$$$3 ~ /sbin\/mtr$$$$/ { $$$$4 = "4755" } \
{ print }'
-# Call with gmake TINY=1 to build and packaage the non-X11 version ...
-ifeq ($(TINY), 1)
+# We would like to have two packages: one with GUI support and one without
+# GUI support.
+#
+EXTRA_MODULATORS = GUI
+MODULATIONS_GUI = disable enable
+
+ifeq ($(GUI), disable)
CONFIGURE_ARGS += --without-gtk
PACKAGES = CSWmtrtiny
CATALOGNAME = mtr_tiny
INCOMPATIBLE_PKGS = CSWmtr
endif
-# ... default is with X11
-ifneq ($(TINY), 1)
+ifeq ($(GUI), enable)
CONFIGURE_ARGS += --disable-gtktest
REQUIRED_PKGS += CSWgtk2 CSWlibatk CSWpango CSWlibcairo
REQUIRED_PKGS += CSWggettextrt CSWglib2
INCOMPATIBLE_PKGS = CSWmtrtiny
+EXTRA_PKG_CONFIG_PATH = /opt/csw/X11/lib/pkgconfig
endif
+#
+# /end modulations
include gar/category.mk
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list