mcde: the recipe without awk:run, so that it can be cross-built
REPLACE_AWK changes #! lines only, and Xsession.src is a ksh script that calls /usr/bin/awk by its path; awk:run made pkgsrc refuse the package in cross mode on a Linux host (mk/tools/replace.mk:142). awk is a build tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee91a9ffbc
commit
a5fdba53d8
1 file changed
+4
-2
+4
-2
@@ -18,7 +18,7 @@ CONFLICTS+= cde-[0-9]*
|
||||
USE_LANGUAGES= c c++
|
||||
USE_LIBTOOL= yes
|
||||
USE_TOOLS+= aclocal autoconf automake autoreconf
|
||||
USE_TOOLS+= awk:run bdftopcf gettext gmake gzip ksh
|
||||
USE_TOOLS+= awk bdftopcf gettext gmake gzip ksh
|
||||
USE_TOOLS+= lex mkfontdir patch perl pkg-config yacc
|
||||
|
||||
MAKE_JOBS_SAFE= no
|
||||
@@ -57,7 +57,9 @@ CONFIGURE_ARGS+= --with-local-bindir=${PREFIX}/bin
|
||||
.include "options.mk"
|
||||
|
||||
REPLACE_PERL+= programs/dtinfo/tools/bin/ccdate
|
||||
REPLACE_AWK+= programs/dtlogin/config/Xsession.src
|
||||
# (no REPLACE_AWK: Xsession.src is a ksh script that calls /usr/bin/awk by
|
||||
# its path, which NetBSD and Linux have; REPLACE_AWK changes #! lines only,
|
||||
# and awk:run kept the package from being cross-built on a Linux host)
|
||||
|
||||
REPLACE_INTERPRETER+= dtksh
|
||||
REPLACE.dtksh.old= .*/bin/dtksh
|
||||
|
||||
Reference in new issue
Block a user