diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-26 16:30:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-26 16:30:55 +0000 |
commit | 31d1b3af609f42346967b9fb58a27994223eba51 (patch) | |
tree | 385aed669fbba2270d809f19c7a03a64c0a65323 /x11/gnome-libs/Makefile | |
parent | ea0bbe8c3df1779150d21e5b46cfb88c524ecb35 (diff) | |
download | pkgsrc-31d1b3af609f42346967b9fb58a27994223eba51.tar.gz |
Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
Diffstat (limited to 'x11/gnome-libs/Makefile')
-rw-r--r-- | x11/gnome-libs/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile index 56601633377..0c809cb408c 100644 --- a/x11/gnome-libs/Makefile +++ b/x11/gnome-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2001/06/19 07:38:33 jlam Exp $ +# $NetBSD: Makefile,v 1.66 2001/06/26 16:30:58 jlam Exp $ DISTNAME= gnome-libs-1.2.13 CATEGORIES= x11 gnome @@ -25,6 +25,8 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \ USE_CONFIG_WRAPPER= YES USE_BUILDLINK_ONLY= YES +REPLACE_BUILDLINK= gnomeConf.sh +REPLACE_BUILDLINK+= gnome-config .include "../../audio/esound/buildlink.mk" .include "../../devel/gettext-lib/buildlink.mk" @@ -63,19 +65,6 @@ pre-build: cd ${WRKSRC}/support && \ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} gnomesupport.h -# Fix config scripts by removing buildlink directory references. -post-build: - @cd ${WRKSRC}; \ - config_scripts="gnomeConf.sh gnome-config"; \ - for file in $${config_scripts}; do \ - ${MV} -f $${file} $${file}.fixme; \ - ${SED} -e "s|-I${BUILDLINK_DIR}/|-I${LOCALBASE}/|g" \ - -e "s|-L${BUILDLINK_DIR}/|-L${LOCALBASE}/|g" \ - $${file}.fixme > $${file}; \ - ${RM} -f $${file}.fixme; \ - ${CHMOD} +x $${file}; \ - done - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/etc/CORBA/servers ${TOUCH} ${PREFIX}/etc/CORBA/servers/.directory |