From e899cc9e8c421e28a0a1b708869afc94b55dccbe Mon Sep 17 00:00:00 2001 From: ade Date: Tue, 8 May 2001 00:58:37 +0000 Subject: Fix build when no GTK is present, or not requested. Approved by: maintainer --- net/mtr/Makefile | 2 ++ net/mtr/files/kill-gtk | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 net/mtr/files/kill-gtk (limited to 'net') diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 8b22b733ddb3..4ef10f5d023d 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -7,6 +7,7 @@ PORTNAME= mtr PORTVERSION= 0.42 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \ http://www.giovannelli.it/~gmarco/files/ @@ -35,6 +36,7 @@ CONFIGURE_ARGS+=--disable-ipv6 USE_XLIB= yes USE_GTK= yes .else +EXTRA_PATCHES= ${FILESDIR}/kill-gtk CONFIGURE_ARGS+=--with-gtk-prefix=/nopath .endif diff --git a/net/mtr/files/kill-gtk b/net/mtr/files/kill-gtk new file mode 100644 index 000000000000..30155f7a354a --- /dev/null +++ b/net/mtr/files/kill-gtk @@ -0,0 +1,12 @@ +--- configure.in.orig Tue May 8 00:53:46 2001 ++++ configure.in Tue May 8 00:54:12 2001 +@@ -41,7 +41,4 @@ + +-AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS" +- LIBS="$LIBS $GTK_LIBS", +- AC_MSG_WARN(Building without GTK+ display support) +- AC_DEFINE(NO_GTK) +- GTK_OBJ=) ++AC_DEFINE(NO_GTK) ++GTK_OBJ= + -- cgit