source: trunk/dports/sysutils/amttools/files/patch-GNUmakefile-check-for-GTK2-only.diff @ 146024

Last change on this file since 146024 was 146024, checked in by ionic@…, 3 years ago

amttools: new port.

Includes amttool (for querying AMT properties), amtterm (for connecting
to SoL virtual adapters), gamt (GTK3-/vte-based SoL terminal) and the
famous amt-howto man page.

File size: 606 bytes
  • GNUmakefile

    old new include mk/Autoconf.mk 
    1919
    2020define make-config
    2121LIB             := $(LIB)
    22 HAVE_GTK        := $(call ac_pkg_config,gtk+-x11-2.0)
     22HAVE_GTK        := $(call ac_pkg_config,gtk+-2.0)
    2323HAVE_VTE        := $(call ac_pkg_config,vte)
    2424endef
    2525
    endef 
    2929ifeq ($(HAVE_GTK)$(HAVE_VTE),yesyes)
    3030  TARGETS += gamt
    3131  gamt : CFLAGS += -Wno-strict-prototypes
    32   gamt : pkglst += gtk+-x11-2.0 vte
     32  gamt : pkglst += gtk+-2.0 vte
    3333endif
    3434
    3535CFLAGS += $(shell test "$(pkglst)" != "" && pkg-config --cflags $(pkglst))
Note: See TracBrowser for help on using the repository browser.