WANTLIB markers

This commit is contained in:
espie 2004-11-29 16:20:10 +00:00
parent f87e864f19
commit 8700fea197

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.40 2004/11/04 22:14:49 alek Exp $
# $OpenBSD: Makefile,v 1.41 2004/11/29 16:20:10 espie Exp $
COMMENT= "Civilization clone for X11; multiplayer; game server"
COMMENT-client= "Freeciv client"
@ -37,6 +37,7 @@ SUBPACKAGE?=
.if !defined(PACKAGING) || ${SUBPACKAGE} != "-share"
# -client and -server
MODULES= devel/gettext
WANTLIB= c m ncurses readline z
. if !${FLAVOR:L:Mno_x11}
# -client
@ -46,6 +47,7 @@ MULTI_PACKAGES+=-client
. if ${FLAVOR:L:Msdl}
LIB_DEPENDS+= SDL_mixer::devel/sdl-mixer
CONFIGURE_ARGS+=--with-sdl-prefix=${LOCALBASE}
WANTLIB+= ICE SDL SM X11 Xaw Xext Xmu Xpm Xt pthread usbhid
. else
CONFIGURE_ARGS+=--disable-sdl-mixer
. endif
@ -53,6 +55,7 @@ CONFIGURE_ARGS+=--disable-sdl-mixer
. if ${FLAVOR:L:Mesd}
LIB_DEPENDS+= esd.2::audio/esound
CONFIGURE_ARGS+=--with-esd-prefix=${LOCALBASE}
WANTLIB+= audiofile
. else
CONFIGURE_ARGS+=--disable-esd
. endif
@ -61,8 +64,12 @@ CONFIGURE_ARGS+=--disable-esd
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS+= gtk-x11-2.0.0.5,gdk-x11-2.0.0.5,gdk_pixbuf-2.0.0.5::x11/gtk+2
CONFIGURE_ARGS+=--enable-client=gtk2
WANTLIB+= X11 Xext Xft Xinerama Xrender atk-1.0.0.0 fontconfig \
freetype glib-2.0.0.0 gmodule-2.0.0.0 gobject-2.0.0.0 \
pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0
. else
CONFIGURE_ARGS+=--enable-client=xaw
WANTLIB+= ICE SM X11 Xaw Xext Xmu Xpm Xt
. endif
. else