openbsd-ports/devel/glib/Makefile
jakemsr cb3832e975 use -pthread instead of -lpthread for pthread linkage
bulk build tested by steven@

sync w/update-patches while here
2007-12-11 10:57:25 +00:00

35 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.59 2007/12/11 10:57:25 jakemsr Exp $
# Uses pthreads
COMMENT= useful routines for C programming
DISTNAME= glib-1.2.10
PKGNAME= ${DISTNAME}p2
SHARED_LIBS += glib 1.2 # .1.2
SHARED_LIBS += gmodule 1.2 # .1.2
SHARED_LIBS += gthread 1.2 # .1.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib/1.2/}
HOMEPAGE= http://www.gtk.org/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= pthread
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
NO_REGRESS= Yes
USE_LIBTOOL= Yes
post-extract:
@rm -f ${WRKSRC}/docs/glib.info*
.include <bsd.port.mk>