dff59f9ec3
use X11_BUILDLINK_MK as a test value. Generally just reordering the inclusions so that x11.buildlink.mk comes before the other buildlink.mk files will make everthing work.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2001/10/23 13:14:49 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= GConf-1.0.4
|
|
PKGNAME= GConf-1.0.4nb1
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/GConf/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
HOMEPAGE= http://advogato.org/proj/GConf/
|
|
COMMENT= configuration database system used by GNOME
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
DEPENDS+= guile>=1.3.4:../../lang/guile
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_X11BASE= YES
|
|
USE_LIBTOOL= YES
|
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
CPPFLAGS+= -I${LOCALBASE}/include/db3 -I${X11PREFIX}/include
|
|
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
|
|
|
|
post-install:
|
|
${TEST} ${PREFIX} = ${LOCALBASE} || \
|
|
${LN} -fs ${PREFIX}/share/aclocal/gconf-1.m4 \
|
|
${LOCALBASE}/share/aclocal/gconf-1.m4
|
|
${TEST} -f ${PREFIX}/etc/gconf/1/path || \
|
|
${CP} -p ${PREFIX}/etc/gconf/1/path.example \
|
|
${PREFIX}/etc/gconf/1/path
|
|
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
.include "../../databases/db3/buildlink.mk"
|
|
.include "../../devel/oaf/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|