The configure script of this port has a #!/usr/bin/env bash line,
and it uses a real bashism ([[ expr =~ expr ]]). So add shells/bash
as a build dependency.

I leave it to others to punish upstream for such a stupid script.

ok?

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/trayer/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    1 Jan 2019 10:06:18 -0000       1.16
+++ Makefile    3 Jan 2019 00:26:59 -0000
@@ -23,6 +23,9 @@ USE_GMAKE=            Yes
 
 LIB_DEPENDS=           x11/gtk+2
 
+# Required for the stupid configure script.
+BUILD_DEPENDS=         shells/bash
+
 CONFIGURE_STYLE=       simple
 CONFIGURE_ARGS=                --prefix=${TRUEPREFIX}
 

Reply via email to