diff options
author | jtb <jtb@pkgsrc.org> | 2003-04-29 23:40:02 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-04-29 23:40:02 +0000 |
commit | ead3b7b3838c8c23d16ce09a3e4c68bbc36c6b88 (patch) | |
tree | fe550141bd53e88110af6478331750326a6b3514 /lang/sather/Makefile | |
parent | 9fc546d431f6e19a5f4c10fe4bbb03009fda3397 (diff) | |
download | pkgsrc-ead3b7b3838c8c23d16ce09a3e4c68bbc36c6b88.tar.gz |
Fix use of _OPSYS_RPATH_NAME causing broken compiler.
Bump PKG_REVISION.
Diffstat (limited to 'lang/sather/Makefile')
-rw-r--r-- | lang/sather/Makefile | 65 |
1 files changed, 34 insertions, 31 deletions
diff --git a/lang/sather/Makefile b/lang/sather/Makefile index 091fd3f38b6..bf9e30e9cb8 100644 --- a/lang/sather/Makefile +++ b/lang/sather/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2003/03/10 06:25:35 jmc Exp $ +# $NetBSD: Makefile,v 1.5 2003/04/29 23:40:02 jtb Exp $ DISTNAME= sather-1.2.1 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=sather/} @@ -17,33 +18,36 @@ MAKE_ENV+= _OPSYS_RPATH_NAME=${_OPSYS_RPATH_NAME} INFO_FILES= sather.info sather-tutorial.info sather-mode.info +REPLACE_PERL= ${WRKSRC}/Browser/Web/ps2gif + do-configure: - for f in \ - ${WRKSRC}/Boot/sacomp.code/Makefile \ - ${WRKSRC}/Library/System/unix.sa \ - ${WRKSRC}/System/Common/CONFIG.proto \ - ${WRKSRC}/System/Platforms/netbsd/CONFIG \ - ${WRKSRC}/System/Platforms/X/Platform.module \ - ${WRKSRC}/debian/bin-wrapper \ - ${WRKSRC}/Browser/Web/convert-1.1 \ - ${WRKSRC}/Browser/Web/gen_html_class_index \ - ${WRKSRC}/Browser/Web/gen_html_sa_files \ - ${WRKSRC}/Browser/Web/gen_html_shortflat \ - ${WRKSRC}/Browser/Web/gen_html_top_level \ - ${WRKSRC}/Browser/Web/gen_mml_sa_files \ - ${WRKSRC}/Browser/Web/gen_mml_shortflat \ - ${WRKSRC}/Browser/Web/graph2dot; \ - do \ - ${SED} -e 's:@CC@:${CC}:g' \ - -e 's:@CFLAGS@:${CFLAGS}:g' \ - -e 's:@GMAKE@:${GMAKE}:g' \ - -e 's:@PREFIX@:${PREFIX}:g' \ - -e 's:@X11BASE@:${X11BASE}:g' \ - -e 's:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g' \ - -e 's:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g' \ - -e 's:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g' \ - $$f > $$f.tmp; \ - ${MV} -f $$f.tmp $$f; \ + for f in \ + ${WRKSRC}/Boot/sacomp.code/Makefile \ + ${WRKSRC}/Library/System/unix.sa \ + ${WRKSRC}/System/Common/CONFIG.proto \ + ${WRKSRC}/System/Platforms/netbsd/CONFIG \ + ${WRKSRC}/System/Platforms/X/Platform.module \ + ${WRKSRC}/debian/bin-wrapper \ + ${WRKSRC}/Browser/Web/convert-1.1 \ + ${WRKSRC}/Browser/Web/gen_html_class_index \ + ${WRKSRC}/Browser/Web/gen_html_sa_files \ + ${WRKSRC}/Browser/Web/gen_html_shortflat \ + ${WRKSRC}/Browser/Web/gen_html_top_level \ + ${WRKSRC}/Browser/Web/gen_mml_sa_files \ + ${WRKSRC}/Browser/Web/gen_mml_shortflat \ + ${WRKSRC}/Browser/Web/graph2dot; \ + do \ + ${SED} -e 's:@CC@:${CC}:g' \ + -e 's:@CFLAGS@:${CFLAGS}:g' \ + -e 's:@GMAKE@:${GMAKE}:g' \ + -e 's:@PREFIX@:${PREFIX}:g' \ + -e 's:@X11BASE@:${X11BASE}:g' \ + -e 's:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g' \ + -e 's:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g' \ + -e 's:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g' \ + -e 's:@_OPSYS_RPATH_NAME@:${_OPSYS_RPATH_NAME}:g' \ + $$f > $$f.tmp; \ + ${MV} -f $$f.tmp $$f; \ done post-build: @@ -51,6 +55,9 @@ post-build: ${MAKEINFO} sather-tutorial.texinfo; \ ${MAKEINFO} sather-mode.texinfo +post-install: + ${RM} -fr ${WRKSRC}/System/Platforms/dualgui/dual_gui_server.code + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/sather ${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/sather/Bin @@ -81,10 +88,6 @@ do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/Emacs/*.el ${PREFIX}/share/emacs/site-lisp -# should fix this -post-install: - ${RM} -fr ${PREFIX}/lib/sather/System/Platforms/dualgui/dual_gui_server.code/ - .include "../../devel/boehm-gc/buildlink2.mk" .include "../../x11/tk/buildlink2.mk" |