Update to 2.8.4

SHARED_LIBS
USE_LIBTOOL

OK bernd@
This commit is contained in:
marcm 2005-12-28 06:15:28 +00:00
parent 1a633ba1fe
commit 2de1a7f736
2 changed files with 22 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.23 2005/11/13 06:22:02 marcm Exp $
# $OpenBSD: Makefile,v 1.24 2005/12/28 06:15:28 marcm Exp $
COMMENT= "general-purpose utility library"
COMMENT-docs= "glib2 documentation"
VERSION= 2.8.3
VERSION= 2.8.4
DISTNAME= glib-${VERSION}
PKGNAME= glib2-${VERSION}
PKGNAME-docs= glib2-docs-${VERSION}
@ -12,6 +12,15 @@ CATEGORIES= devel
HOMEPAGE= http://www.gtk.org
MAINTAINER= Marc Matteo <marcm@openbsd.org>
SHARED_LIBS= glib-2.0 800.4 \
gmodule-2.0 800.4 \
gobject-2.0 800.4 \
gthread-2.0 800.4
MODGNU_SHARED_LIBS= glib-2.0 '' \
gmodule-2.0 '' \
gobject-2.0 '' \
gthread-2.0 ''
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -40,11 +49,16 @@ CONFIGURE_ARGS+= --disable-threads
.endif
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
LDFLAGS="-L${WRKSRC}/glib/.libs -L${WRKSRC}/gthread/.libs -L${WRKSRC}/gobject/.libs -L${WRKSRC}/gmodule/.libs"
LDFLAGS="-L${LOCALBASE}/lib"
# Work around an issue in our libtool where -pthread is not listed as a
# dependency
post-install:
sed -e "s/dependency_libs='/dependency_libs='-pthread/" < ${PREFIX}/lib/libgthread-2.0.la > ${PREFIX}/lib/libgthread-2.0.temp && mv ${PREFIX}/lib/libgthread-2.0.temp ${PREFIX}/lib/libgthread-2.0.la
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (glib-2.8.3.tar.bz2) = 58177fe64c189b86bac1625350512159
RMD160 (glib-2.8.3.tar.bz2) = 37d1c2a5fd19000860c4c724e055ea9d28e2f3d6
SHA1 (glib-2.8.3.tar.bz2) = bfd9942f049be7cd66452ae8a310cb44cb72f5ac
SIZE (glib-2.8.3.tar.bz2) = 2564822
MD5 (glib-2.8.4.tar.bz2) = 349a0f039f53584df11d2043d36c49b8
RMD160 (glib-2.8.4.tar.bz2) = 97090315719c578930b0d645aa6571a2c7fd49d0
SHA1 (glib-2.8.4.tar.bz2) = d6168689dee919013de71481286dc090e2d855d1
SIZE (glib-2.8.4.tar.bz2) = 2583226