diff options
author | ade <ade@FreeBSD.org> | 2001-05-08 08:58:37 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2001-05-08 08:58:37 +0800 |
commit | e899cc9e8c421e28a0a1b708869afc94b55dccbe (patch) | |
tree | 4928830ad1c95aa015404f37cc71c136ffa89217 /net/mtr | |
parent | 5d44c1cb71c60bdd4a188a36abd343d015ff7e01 (diff) | |
download | freebsd-ports-gnome-e899cc9e8c421e28a0a1b708869afc94b55dccbe.tar.gz freebsd-ports-gnome-e899cc9e8c421e28a0a1b708869afc94b55dccbe.tar.zst freebsd-ports-gnome-e899cc9e8c421e28a0a1b708869afc94b55dccbe.zip |
Fix build when no GTK is present, or not requested.
Approved by: maintainer
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 2 | ||||
-rw-r--r-- | net/mtr/files/kill-gtk | 12 |
2 files changed, 14 insertions, 0 deletions
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= + |