add ugly workaround to build without gtk

on a machine with gtk; alek@Piestrak.waw.pl
This commit is contained in:
jakob 2001-07-18 23:09:15 +00:00
parent f789bcc428
commit 5deda30c17

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2001/03/25 18:17:18 jakob Exp $ # $OpenBSD: Makefile,v 1.19 2001/07/18 23:09:15 jakob Exp $
COMMENT= "Matt's traceroute - network diagnostic tool" COMMENT= "Matt's traceroute - network diagnostic tool"
@ -31,6 +31,7 @@ FLAVORS= curses
FLAVOR?= FLAVOR?=
.if ${FLAVOR:L} == "curses" .if ${FLAVOR:L} == "curses"
CONFIGURE_ARGS+= --disable-gtk CONFIGURE_ARGS+= --disable-gtk
CONFIGURE_ARGS+= --with-gtk-prefix=/nonexisting
.else .else
LIB_DEPENDS= gtk.1.2::x11/gtk+ LIB_DEPENDS= gtk.1.2::x11/gtk+
.endif .endif