diff options
author | rh <rh@pkgsrc.org> | 2001-10-03 20:19:35 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-10-03 20:19:35 +0000 |
commit | 115e14e0c7e4d5a0ce71f7278d3424c30c7716e7 (patch) | |
tree | a3178c27893d695d84ca18d939367de871826496 /devel/oaf | |
parent | 3fe187ec20a1407ad76a2549b0f681bda87b28cc (diff) | |
download | pkgsrc-115e14e0c7e4d5a0ce71f7278d3424c30c7716e7.tar.gz |
Replace hand-made script with REPLACE_BUILDLINK and REPLACE_BUILDLINK_SED
Diffstat (limited to 'devel/oaf')
-rw-r--r-- | devel/oaf/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile index 9ff01165fa7..59d22f54cf2 100644 --- a/devel/oaf/Makefile +++ b/devel/oaf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/10/01 11:01:02 rh Exp $ +# $NetBSD: Makefile,v 1.12 2001/10/03 20:19:35 rh Exp $ # DISTNAME= oaf-0.6.6 @@ -10,27 +10,17 @@ MAINTAINER= rh@netbsd.org HOMEPAGE= http://www.gnome.org/ COMMENT= new object activation framework for GNOME -GNU_CONFIGURE= YES USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES USE_X11BASE= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CPPFLAGS+= -I${X11PREFIX}/include -I${LOCALBASE}/include -# -# use of orbit/buildlink.mk (pulled in via gnome-libs) causes the -# buildlink location for orbit-config to be entered in the configure -# scripts. Fix by replacing @ORBIT_CONFIG@ before GNU configure has -# a chance to touch it. -# -pre-configure: -.for cfg in oafConf.sh.in oaf-config.in - cd ${WRKSRC} && \ - ${CP} ${cfg} ${cfg}.old && \ - ${SED} < ${cfg}.old > ${cfg} \ - -e 's|@ORBIT_CONFIG@|${LOCALBASE}/bin/orbit-config|g' -.endfor +REPLACE_BUILDLINK_SED= -e "s|${BUILDLINK_DIR}/|${LOCALBASE}/|g" +REPLACE_BUILDLINK+= oafConf.sh +REPLACE_BUILDLINK+= oaf-config .include "../../textproc/libxml/buildlink.mk" .include "../../x11/gnome-libs/buildlink.mk" |