diff options
author | jlam <jlam> | 2001-06-16 19:51:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-16 19:51:51 +0000 |
commit | 0da457c2fd8514f5b974a60a5e5713819aa72822 (patch) | |
tree | be5907f2648b25f4e6a078ac271720f63c803c75 /graphics/gdk-pixbuf/Makefile | |
parent | aa4c2a85d6bc280eb72ff0a457e51ca822b6b7c6 (diff) | |
download | pkgsrc-0da457c2fd8514f5b974a60a5e5713819aa72822.tar.gz |
Converted to use buildlink.mk files.
Diffstat (limited to 'graphics/gdk-pixbuf/Makefile')
-rw-r--r-- | graphics/gdk-pixbuf/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile index 7a7ddb455ac..8538f282b09 100644 --- a/graphics/gdk-pixbuf/Makefile +++ b/graphics/gdk-pixbuf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2001/03/18 04:33:53 mjl Exp $ +# $NetBSD: Makefile,v 1.14 2001/06/16 19:53:08 jlam Exp $ # .include "Makefile.common" @@ -15,6 +15,18 @@ post-configure: ${SED} -e 's/ doc$$//' ${WRKSRC}/Makefile >${WRKSRC}/.tmp && \ ${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile +# Fix config scripts by removing buildlink directory references. +post-build: + @cd ${WRKSRC}; \ + for file in gdk_pixbufConf.sh gdk_pixbuf_xlibConf.sh; 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: ${TEST} ${PREFIX} = ${LOCALBASE} || \ ${LN} -fs ${PREFIX}/share/aclocal/gdk-pixbuf.m4 \ |