openbsd-ports/games/ggz/libggz/Makefile

28 lines
625 B
Makefile
Raw Normal View History

2009-06-17 21:07:52 -04:00
# $OpenBSD: Makefile,v 1.4 2009/06/18 01:07:52 sthen Exp $
COMMENT= GGZ Gaming Zone - base library
DISTNAME= libggz-$V
2009-06-17 21:07:52 -04:00
PKGNAME= ${DISTNAME}p1
SHARED_LIBS += ggz 0.0 # .5.0
CONFIGURE_ARGS+= --with-gcrypt \
--with-tls="OpenSSL"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODULES= devel/gettext
2009-06-17 21:07:52 -04:00
WANTLIB= crypto gpg-error ssl pthread
LIB_DEPENDS= gcrypt::security/libgcrypt
# compiler takes insane amounts of time to compile
.if ${MACHINE_ARCH} == "sparc64"
EXTRA_CFLAGS= -O1
.endif
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
.include <bsd.port.mk>