freebsd-ports/devel/glib12/Makefile
Maxim Sobolev 4839f602eb Smash a compatibility bug in g_module_open(). It seems that unlike Linux one,
FreeBSD's dlopen(NULL, ...) doesn't return a handle useable for resolving
symbols in both the program itself and all modules it dlopen'ed. Instead,
when requested for a self handle return RTLD_DEFAULT, which seems closely
matches dlopen(NULL, ...) in Linux. Bump PORTREVISION.

Recommended update for all GNOME/GTK users.

Inspired by:	John Merryweather Cooper <john_m_cooper@yahoo.com>
2001-12-12 04:51:10 +00:00

30 lines
697 B
Makefile

# New ports collection makefile for: glib12
# Date Created: 28 July 1998
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= glib
PORTVERSION= 1.2.10
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/glib
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
MAINTAINER= gnome@FreeBSD.org
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-suffix
CONFIGURE_ARGS= --includedir=${PREFIX}/include/glib12
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1= glib12-config.1
.include <bsd.port.mk>