espie 85b14d2d7b should fix on vax.
the current mess is that libtool allows things to link because of the .la,
but the configure script, as usual, fucks up, because it tries to link
directly, so both -lintl and -lX11 detections fail.

kind of sneaky with X11, as some values are cached, so X11 is detected,
BUT some other values are not, and they're not cached, so that ends up
with a paralytic X11 that misses half the useful functionalities it
actually has...
2013-07-13 06:55:17 +00:00

38 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.78 2013/07/13 06:55:17 espie Exp $
COMMENT= General Toolkit for X11 GUI
DISTNAME= gtk+-1.2.10
REVISION= 12
SHARED_LIBS= gdk 3.0 \
gtk 3.0
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/1.2/}
HOMEPAGE= http://www.gtk.org/
MODULES= devel/gettext
LIB_DEPENDS= devel/glib
FAKE= all
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xext Xi glib gmodule m xcb
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --with-xinput="xfree"
CONFIGURE_ARGS+= --disable-glibtest
CONFIGURE_ENV= CPPFLAGS="-I${DEPBASE}/include" \
LDFLAGS="-L${DEPBASE}/lib" \
glib_config_args=--prefix=${DEPBASE}
# for non shared arches
CONFIGURE_ENV += X_EXTRA_LIBS=-lxcb
.include <bsd.port.mk>