On 05/04/18 06:45, Solene Rapenne wrote:
Christian Weisgerber writes:

I see this splashed on my dpb window.  Apparently a port writes to
/dev/tty during the build.  Any idea which one?

  476 loops;      25s;  139520 Kstmts; 4894 Kst/sec
  381 loops;      20s;  111675 Kstmts; 4891 Kst/sec
   93 loops;       5s;   27261 Kstmts; 4778 Kst/sec
it's lang/snobol4


Fix looks like the attached.

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/snobol4/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile	6 Nov 2017 08:14:14 -0000	1.1.1.1
+++ Makefile	4 May 2018 15:08:43 -0000
@@ -25,4 +25,6 @@ CONFIGURE_ARGS =	--prefix="${PREFIX}" \
 # Reduce PLIST churn at update time.
 FAKE_FLAGS =	DOC_DIR="${DESTDIR}${PREFIX}/share/doc/snobol4"
 
+TEST_TARGET =	timing.out
+
 .include <bsd.port.mk>
Index: patches/patch-Makefile2_m4
===================================================================
RCS file: /cvs/ports/lang/snobol4/patches/patch-Makefile2_m4,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile2_m4
--- patches/patch-Makefile2_m4	6 Nov 2017 08:14:14 -0000	1.1.1.1
+++ patches/patch-Makefile2_m4	4 May 2018 15:08:43 -0000
@@ -3,7 +3,48 @@ $OpenBSD: patch-Makefile2_m4,v 1.1.1.1 2
 Index: Makefile2.m4
 --- Makefile2.m4.orig
 +++ Makefile2.m4
-@@ -636,9 +636,9 @@ install: snobol4 sdb timing.out $(GENERATED_DOCS)
+@@ -233,7 +233,7 @@ GENERATED_DOCS=	$(GENERATED_DOCS_DOCDIR)
+ 
+ .PRECIOUS: $(SNOBOL4).o data_init.o snobol4
+ 
+-all:	build_all timing.out
++all:	sdb xsnobol4 $(GENERATED_DOCS) $(MODULES_GENERATED)
+ 
+ BUILD_ALL=sdb snobol4 snopea $(GENERATED_DOCS)
+ build_all: $(BUILD_ALL)
+@@ -250,6 +250,7 @@ xsnobol4: $(OBJS)
+ 	$(CC) $(CFLAGS) -c build.c
+ 	rm -f xsnobol4$(EXT)
+ 	$(CC) -o xsnobol4 $(OBJS) build.o $(LDFLAGS)
++	cp xsnobol4$(EXT) snobol4$(EXT)
+ 
+ changequote([,])dnl
+ 
+@@ -608,13 +609,13 @@ llib-lf.ln:
+ 
+ SNOPEA=./snobol4 -N -Isnolib -I. snopea.in
+ 
+-snopea.1: snopea snolib/snopea.sno snobol4
++snopea.1: snopea snolib/snopea.sno xsnobol4
+ 	$(SNOPEA) snopea snopea.1
+ 
+-snopea.1.html: snopea snolib/snopea.sno snobol4
++snopea.1.html: snopea snolib/snopea.sno xsnobol4
+ 	$(SNOPEA) snopea snopea.1.html
+ 
+-$(GENERATED_DOCS_DOCDIR): snopea snolib/snopea.sno snobol4
++$(GENERATED_DOCS_DOCDIR): snopea snolib/snopea.sno xsnobol4
+ 	cd doc; make
+ 
+ #################
+@@ -630,15 +631,15 @@ GENSNOLIB=host.sno config.sno
+ 
+ SNOLIB_FILES=snolib/*.sno $(GENSNOLIB) $(MODULES_INCLUDE)
+ 
+-install: snobol4 sdb timing.out $(GENERATED_DOCS)
++install: xsnobol4 sdb $(GENERATED_DOCS)
+ 	$(INSTALL) -d $(BINDIR)
+ 	$(INSTALL) $(INSTALL_BIN_FLAGS) snobol4 $(BINDIR)/snobol4-$(VERS)
  	$(INSTALL) sdb $(BINDIR)/sdb-$(VERS)
  	$(INSTALL) snopea $(BINDIR)/snopea-$(VERS)
  	rm -f $(BINDIR)/snobol4 $(BINDIR)/sdb $(BINDIR)/snopea

Reply via email to