diff options
author | jlam <jlam> | 2001-06-26 16:30:55 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-26 16:30:55 +0000 |
commit | b667122bb758741804d3b24a50d5dad9122b7acf (patch) | |
tree | 385aed669fbba2270d809f19c7a03a64c0a65323 /devel/SDL | |
parent | 3f5299f7926923d81d1a5eccc00afdedba1928e1 (diff) | |
download | pkgsrc-b667122bb758741804d3b24a50d5dad9122b7acf.tar.gz |
Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
Diffstat (limited to 'devel/SDL')
-rw-r--r-- | devel/SDL/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile index b6416c108c1..bd9690ba2c7 100644 --- a/devel/SDL/Makefile +++ b/devel/SDL/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/06/26 03:29:17 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2001/06/26 16:30:56 jlam Exp $ # DISTNAME= SDL-1.2.0 @@ -16,6 +16,7 @@ BUILDLINK_DEPENDS.pth= pth>=1.4.0 USE_BUILDLINK_ONLY= YES USE_CONFIG_WRAPPER= YES +REPLACE_BUILDLINK= sdl-config GNU_CONFIGURE= YES USE_GMAKE= YES @@ -52,19 +53,6 @@ pre-configure: post-configure: cd ${WRKSRC}/src/audio && ${CP} *.[ch] netbsd/ -# Fix config scripts by removing buildlink directory references. -post-build: - @cd ${WRKSRC}; \ - config_scripts="sdl-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 - .include "../../audio/esound/buildlink.mk" .include "../../devel/pth/buildlink.mk" .include "../../graphics/Mesa/buildlink.mk" |