pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/graphviz



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Aug  9 16:04:44 UTC 2020

Modified Files:
        pkgsrc/graphics/graphviz: Makefile

Log Message:
graphics/graphviz: fix build with BSD make

BSD make does not know the $< variable in explicit rules, it only knows
it for inference rules like ".c.o".  This resulted in $< expanding to an
empty string, which in turn got the build stuck because it tried to read
from stdin.  But not in parallel mode, where stdin was redirected to an
empty file, resulting in an empty PostScript file being installed.

Fixes PR pkg/55539.


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 pkgsrc/graphics/graphviz/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/graphviz/Makefile
diff -u pkgsrc/graphics/graphviz/Makefile:1.217 pkgsrc/graphics/graphviz/Makefile:1.218
--- pkgsrc/graphics/graphviz/Makefile:1.217     Mon Aug  3 22:38:22 2020
+++ pkgsrc/graphics/graphviz/Makefile   Sun Aug  9 16:04:44 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.217 2020/08/03 22:38:22 tnn Exp $
+# $NetBSD: Makefile,v 1.218 2020/08/09 16:04:44 rillig Exp $
 
 DISTNAME=      graphviz-2.44.1
 CATEGORIES=    graphics
@@ -19,6 +19,9 @@ PRIVILEGED_STAGES+=   clean
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            automake bison flex groff pkg-config
+# GNU make is needed since BSD Make does not know $< in explicit rules,
+# such as used by lib/cdt/Makefile.am.
+USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 GNU_CONFIGURE_STRICT=  no # has sub-configures
 CONFIGURE_ARGS+=       --disable-java



Home | Main Index | Thread Index | Old Index