Sat May 16 13:56:56 2020 UTC ()
lang/sather: allow no-op SUBST block


(rillig)
diff -r1.69 -r1.70 pkgsrc/lang/sather/Makefile

cvs diff -r1.69 -r1.70 pkgsrc/lang/sather/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/sather/Makefile 2020/01/18 23:32:45 1.69
+++ pkgsrc/lang/sather/Makefile 2020/05/16 13:56:55 1.70
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.69 2020/01/18 23:32:45 rillig Exp $ 1# $NetBSD: Makefile,v 1.70 2020/05/16 13:56:55 rillig Exp $
2 2
3DISTNAME= sather-1.2.3 3DISTNAME= sather-1.2.3
4PKGREVISION= 15 4PKGREVISION= 15
5CATEGORIES= lang 5CATEGORIES= lang
6MASTER_SITES= ${MASTER_SITE_GNU:=sather/} 6MASTER_SITES= ${MASTER_SITE_GNU:=sather/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.gnu.org/software/sather/ 9HOMEPAGE= https://www.gnu.org/software/sather/
10COMMENT= Compiler for the Sather object oriented programming language 10COMMENT= Compiler for the Sather object oriented programming language
11#LICENSE= gnu-gpl-v3 gnu-lgpl-v3 11#LICENSE= gnu-gpl-v3 gnu-lgpl-v3
12 12
13MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
14 14
@@ -39,26 +39,27 @@ SUBST_FILES.sather-configure= \ @@ -39,26 +39,27 @@ SUBST_FILES.sather-configure= \
39 Browser/Web/gen_mml_sa_files \ 39 Browser/Web/gen_mml_sa_files \
40 Browser/Web/gen_mml_shortflat \ 40 Browser/Web/gen_mml_shortflat \
41 Browser/Web/graph2dot 41 Browser/Web/graph2dot
42SUBST_VARS.sather-configure= CC 42SUBST_VARS.sather-configure= CC
43SUBST_VARS.sather-configure+= CFLAGS 43SUBST_VARS.sather-configure+= CFLAGS
44SUBST_VARS.sather-configure+= GMAKE 44SUBST_VARS.sather-configure+= GMAKE
45SUBST_VARS.sather-configure+= PREFIX 45SUBST_VARS.sather-configure+= PREFIX
46SUBST_VARS.sather-configure+= X11BASE 46SUBST_VARS.sather-configure+= X11BASE
47SUBST_SED.sather-configure+= -e s:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g 47SUBST_SED.sather-configure+= -e s:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g
48SUBST_SED.sather-configure+= -e s:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g 48SUBST_SED.sather-configure+= -e s:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g
49SUBST_SED.sather-configure+= -e s:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g 49SUBST_SED.sather-configure+= -e s:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g
50SUBST_VARS.sather-configure+= LINKER_RPATH_FLAG 50SUBST_VARS.sather-configure+= LINKER_RPATH_FLAG
51SUBST_VARS.sather-configure+= COMPILER_RPATH_FLAG 51SUBST_VARS.sather-configure+= COMPILER_RPATH_FLAG
 52SUBST_NOOP_OK.sather-configure= yes # because of ${LOWER_OPSYS}
52 53
53INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/sather \ 54INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/sather \
54 lib/sather lib/sather/Bin share/emacs/site-lisp 55 lib/sather lib/sather/Bin share/emacs/site-lisp
55 56
56post-patch: 57post-patch:
57 ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly 58 ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly
58 ln -s netbsd ${WRKSRC}/System/Platforms/darwin 59 ln -s netbsd ${WRKSRC}/System/Platforms/darwin
59 60
60post-build: 61post-build:
61 cd ${WRKSRC}/Emacs && \ 62 cd ${WRKSRC}/Emacs && \
62 makeinfo sather.texinfo && \ 63 makeinfo sather.texinfo && \
63 makeinfo sather-tutorial.texinfo && \ 64 makeinfo sather-tutorial.texinfo && \
64 makeinfo sather-mode.texinfo 65 makeinfo sather-mode.texinfo