git: 687edfacdc85 - main - devel/gmake: Update to 4.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 09:46:22 UTC
The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=687edfacdc85d4a63e8139e1c22cb11c1c7f0751 commit 687edfacdc85d4a63e8139e1c22cb11c1c7f0751 Author: Kenji Takefu <takefu@airport.fm> AuthorDate: 2023-07-12 08:58:28 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2024-03-03 09:44:21 +0000 devel/gmake: Update to 4.4.1 Some ports required patches. PR: 272216 Exp-run by: antoine --- Mk/Uses/gmake.mk | 2 +- audio/flite/files/patch-main_Makefile | 11 +- devel/asmutils/Makefile | 1 + devel/cscout/files/patch-src_Makefile | 22 +++- devel/gdb/Makefile | 24 ++-- devel/gmake/Makefile | 18 ++- devel/gmake/distinfo | 6 +- devel/gmake/files/patch-10-6e6abd0c | 127 ---------------------- devel/gmake/files/patch-configure | 11 ++ devel/gmake/files/patch-lib-glob.c | 10 -- devel/gmake/files/patch-src-default.c | 11 -- devel/gmake/files/patch-src-makeint.h | 10 -- devel/gmake/pkg-plist | 1 + games/jfsw/files/patch-jfaudiolib_Makefile.shared | 17 +++ games/jfsw/files/patch-jfbuild_Makefile.shared | 17 +++ graphics/dynamechs/Makefile | 2 +- math/apron/files/patch-apron_Makefile | 11 ++ math/cado-nfs/Makefile | 7 +- net/delegate/Makefile | 1 + security/sslproxy/files/patch-Mk_main.mk | 51 +++++++++ 20 files changed, 168 insertions(+), 192 deletions(-) diff --git a/Mk/Uses/gmake.mk b/Mk/Uses/gmake.mk index f39f3f685277..3aa9bae0efac 100644 --- a/Mk/Uses/gmake.mk +++ b/Mk/Uses/gmake.mk @@ -12,7 +12,7 @@ _INCLUDE_USES_GMAKE_MK= yes IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments . endif -BUILD_DEPENDS+= gmake>=4.3:devel/gmake +BUILD_DEPENDS+= gmake>=4.4.1:devel/gmake CONFIGURE_ENV+= MAKE=gmake MAKE_CMD= gmake diff --git a/audio/flite/files/patch-main_Makefile b/audio/flite/files/patch-main_Makefile index 765ab63ab3e8..a676495274d9 100644 --- a/audio/flite/files/patch-main_Makefile +++ b/audio/flite/files/patch-main_Makefile @@ -1,6 +1,15 @@ --- main/Makefile.orig 2017-10-21 14:01:07 UTC +++ main/Makefile -@@ -133,15 +133,15 @@ $(BINDIR)/flite_${VOICE}: flite_main.o flite_lang_list +@@ -49,7 +49,7 @@ ALL = shared_libs \ + $(BINDIR)/flite$(EXEEXT) \ + $(BINDIR)/t2p$(EXEEXT) $(BINDIR)/compile_regexes$(EXEEXT) \ + $(BINDIR)/flitevox_info$(EXEEXT) \ +- flite_voice_list.c each $(EXTRABINS) ++ each $(EXTRABINS) + + VOICES=$(VOXES) + VOICELIBS=$(VOICES:%=flite_%) +@@ -133,15 +133,15 @@ install: install: # The basic binaries diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile index b71c1a1c3448..9b873ceb03eb 100644 --- a/devel/asmutils/Makefile +++ b/devel/asmutils/Makefile @@ -17,6 +17,7 @@ BUILD_DEPENDS= nasm:devel/nasm USES= gmake USE_GCC= yes MAKE_ARGS= OS="${OPSYS:tu}" KERNEL="${OSREL:S/.//g}" CC="${CC}" LD="${LD}" +MAKE_JOBS_UNSAFE=yes # This will play merry hell with portlint(1) BINARIES= bonus/asmutils basename cal cat chmod chown chroot cmp cp \ diff --git a/devel/cscout/files/patch-src_Makefile b/devel/cscout/files/patch-src_Makefile index fc6f895da842..b7b35e70f642 100644 --- a/devel/cscout/files/patch-src_Makefile +++ b/devel/cscout/files/patch-src_Makefile @@ -1,6 +1,24 @@ --- src/Makefile.orig 2019-11-04 16:42:35 UTC +++ src/Makefile -@@ -207,12 +207,13 @@ mkerr: +@@ -153,7 +153,7 @@ build/%.o: %.cpp + + # Dependency generation rules + # See https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html +-dep/%.d: %.cpp ++dep/%.d: %.cpp parse.tab.h + @set -e; rm -f $@; \ + mkdir -p dep ; \ + $(CXX) -MM $(CPPFLAGS) $< > $@.$$$$; \ +@@ -167,6 +167,8 @@ dep/%.d: %.c + sed 's,\($*\)\.o[ :]*,build/\1.o $@ : ,g' < $@.$$$$ > $@; \ + rm -f $@.$$$$ + ++dep/html.d: css.c ++ + # Serialize execution order to ensure the dependencies are built before + # compiling the object files in make -j invocations + all: +@@ -207,12 +209,13 @@ mkerr: # This ensures that the version.cpp is regenerated iff its SHA doesn't # match the current one. @@ -17,7 +35,7 @@ test: -@@ -264,6 +265,7 @@ obfuscation: +@@ -264,6 +267,7 @@ install: build/cscout ) install: build/cscout diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index 33253514ffd2..029f36d86653 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -141,8 +141,8 @@ do-install: ${STAGEDIR}${PREFIX}/bin/gdb${VER} ${INSTALL_MAN} ${WRKSRC}/gdb/doc/gdb.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/gdb${VER}.1 - (cd ${INSTALL_WRKSRC}/gdb/data-directory ; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-syscalls ) + (cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-syscalls ) do-install-KGDB-on: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gdb/kgdb \ @@ -162,18 +162,18 @@ do-install-GDB_LINK-on: .endif do-install-PYTHON-on: - (cd ${INSTALL_WRKSRC}/gdb ; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python ) - (cd ${INSTALL_WRKSRC}/gdb/data-directory ; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python ) + (cd ${INSTALL_WRKSRC}/gdb ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python ) + (cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python ) @(cd ${STAGEDIR}${PREFIX}/share/gdb/python && \ ${PYTHON_CMD} -m compileall .) . for f in gdb gdb/command gdb/function gdb/printer @(cd ${STAGEDIR}${PREFIX}/share/gdb/python/${f} ; ${CHMOD} 644 *.py* ) . endfor .if exists(/usr/lib/libc++.so.1) || exists(/lib/libc++.so.1) - @(cd ${WRKSRC_libcxx} ; \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} \ + @(cd ${WRKSRC_libcxx} ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} \ LIBCXX_DIR="${LIBCXX_DIR}" install ) @(cd ${STAGEDIR}${PREFIX}/share/gdb/auto-load/${LIBCXX_DIR} && \ ${PYTHON_CMD} -m compileall .) @@ -187,9 +187,9 @@ do-install-PYTHON-on: # breakage at run time. do-install-GUILE-on: - (cd ${INSTALL_WRKSRC}/gdb ; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile ) - (cd ${INSTALL_WRKSRC}/gdb/data-directory ; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile ) + (cd ${INSTALL_WRKSRC}/gdb ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile ) + (cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile ) .include <bsd.port.post.mk> diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 29169978d109..f0c981b4b221 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -1,9 +1,8 @@ -PORTNAME= gmake -PORTVERSION= 4.3 -PORTREVISION= 3 +PORTNAME= make +DISTVERSION= 4.4.1 CATEGORIES= devel -MASTER_SITES= GNU/make -DISTNAME= make-${PORTVERSION} +MASTER_SITES= GNU +PKGNAMEPREFIX= g # note: before committing to this port, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's @@ -15,14 +14,15 @@ WWW= https://www.gnu.org/software/make/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +USES= cpe tar:lz +CPE_VENDOR= gnu + GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --program-prefix=g \ --without-guile -USES= cpe tar:lz -CPE_VENDOR= gnu -CPE_PRODUCT= make +INFO= make OPTIONS_DEFINE= NLS OPTIONS_SUB= yes @@ -30,6 +30,4 @@ OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls -INFO= make - .include <bsd.port.mk> diff --git a/devel/gmake/distinfo b/devel/gmake/distinfo index b8f83469ce24..76567dedc173 100644 --- a/devel/gmake/distinfo +++ b/devel/gmake/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1587222848 -SHA256 (make-4.3.tar.lz) = de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82 -SIZE (make-4.3.tar.lz) = 1266180 +TIMESTAMP = 1687757277 +SHA256 (make-4.4.1.tar.lz) = 8814ba072182b605d156d7589c19a43b89fc58ea479b9355146160946f8cf6e9 +SIZE (make-4.4.1.tar.lz) = 1305648 diff --git a/devel/gmake/files/patch-10-6e6abd0c b/devel/gmake/files/patch-10-6e6abd0c deleted file mode 100644 index 9e0f1e22caa8..000000000000 --- a/devel/gmake/files/patch-10-6e6abd0c +++ /dev/null @@ -1,127 +0,0 @@ -From: Bruno Haible <bruno@clisp.org> -Date: Sat, 23 May 2020 10:19:34 +0000 (+0200) -Subject: findprog-in: Ignore directories. -X-Git-Url: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff_plain;h=6e6abd0cdfe4bb96f6412aebc511f10bf254a820 - -findprog-in: Ignore directories. - -Reported by Frederick Eaton via Dmitry Goncharov in -<https://lists.gnu.org/archive/html/bug-gnulib/2020-03/msg00003.html>. - -* lib/findprog-in.c (find_in_given_path): When the file found is a -directory, set errno to EACCES and, during a PATH search, continue -searching. -* modules/findprog-in (Depends-on): Add sys_stat, stat. ---- - -diff --git a/lib/findprog-in.c b/lib/findprog-in.c -index c254f2f..0f76e36 100644 ---- lib/findprog-in.c -+++ lib/findprog-in.c -@@ -26,6 +26,7 @@ - #include <stdlib.h> - #include <string.h> - #include <unistd.h> -+#include <sys/stat.h> - - #include "filename.h" - #include "concat-filename.h" -@@ -58,8 +59,8 @@ static const char * const suffixes[] = - /* Note: The cmd.exe program does a different lookup: It searches according - to the PATHEXT environment variable. - See <https://stackoverflow.com/questions/7839150/>. -- Also, it executes files ending .bat and .cmd directly without letting the -- kernel interpret the program file. */ -+ Also, it executes files ending in .bat and .cmd directly without letting -+ the kernel interpret the program file. */ - #elif defined __CYGWIN__ - "", ".exe", ".com" - #elif defined __EMX__ -@@ -136,14 +137,26 @@ find_in_given_path (const char *progname, const char *path, - call access() despite its design flaw. */ - if (eaccess (progpathname, X_OK) == 0) - { -- /* Found! */ -- if (strcmp (progpathname, progname) == 0) -+ /* Check that the progpathname does not point to a -+ directory. */ -+ struct stat statbuf; -+ -+ if (stat (progpathname, &statbuf) >= 0) - { -- free (progpathname); -- return progname; -+ if (! S_ISDIR (statbuf.st_mode)) -+ { -+ /* Found! */ -+ if (strcmp (progpathname, progname) == 0) -+ { -+ free (progpathname); -+ return progname; -+ } -+ else -+ return progpathname; -+ } -+ -+ errno = EACCES; - } -- else -- return progpathname; - } - - if (errno != ENOENT) -@@ -210,25 +223,37 @@ find_in_given_path (const char *progname, const char *path, - call access() despite its design flaw. */ - if (eaccess (progpathname, X_OK) == 0) - { -- /* Found! */ -- if (strcmp (progpathname, progname) == 0) -+ /* Check that the progpathname does not point to a -+ directory. */ -+ struct stat statbuf; -+ -+ if (stat (progpathname, &statbuf) >= 0) - { -- free (progpathname); -- -- /* Add the "./" prefix for real, that -- xconcatenated_filename() optimized away. This -- avoids a second PATH search when the caller uses -- execl/execv/execlp/execvp. */ -- progpathname = -- XNMALLOC (2 + strlen (progname) + 1, char); -- progpathname[0] = '.'; -- progpathname[1] = NATIVE_SLASH; -- memcpy (progpathname + 2, progname, -- strlen (progname) + 1); -- } -+ if (! S_ISDIR (statbuf.st_mode)) -+ { -+ /* Found! */ -+ if (strcmp (progpathname, progname) == 0) -+ { -+ free (progpathname); -+ -+ /* Add the "./" prefix for real, that -+ xconcatenated_filename() optimized away. -+ This avoids a second PATH search when the -+ caller uses execl/execv/execlp/execvp. */ -+ progpathname = -+ XNMALLOC (2 + strlen (progname) + 1, char); -+ progpathname[0] = '.'; -+ progpathname[1] = NATIVE_SLASH; -+ memcpy (progpathname + 2, progname, -+ strlen (progname) + 1); -+ } -+ -+ free (path_copy); -+ return progpathname; -+ } - -- free (path_copy); -- return progpathname; -+ errno = EACCES; -+ } - } - - if (errno != ENOENT) diff --git a/devel/gmake/files/patch-configure b/devel/gmake/files/patch-configure new file mode 100644 index 000000000000..c8beba7802ea --- /dev/null +++ b/devel/gmake/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2023-02-26 18:46:38 UTC ++++ configure +@@ -6741,7 +6741,7 @@ fi + + + +-printf "%s\n" "#define MAKE_CXX \"$CXX\"" >>confdefs.h ++printf "%s\n" "#define MAKE_CXX \"c++\"" >>confdefs.h + + + # Configure gnulib diff --git a/devel/gmake/files/patch-lib-glob.c b/devel/gmake/files/patch-lib-glob.c deleted file mode 100644 index a51d38144d88..000000000000 --- a/devel/gmake/files/patch-lib-glob.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/glob.c.orig 2020-01-03 07:11:27 UTC -+++ lib/glob.c -@@ -203,7 +203,6 @@ my_realloc (p, n) - return (char *) malloc (n); - return (char *) realloc (p, n); - } --# define realloc my_realloc - # endif /* __SASC */ - #endif /* __GNU_LIBRARY__ || __DJGPP__ */ - diff --git a/devel/gmake/files/patch-src-default.c b/devel/gmake/files/patch-src-default.c deleted file mode 100644 index df78eb415b2e..000000000000 --- a/devel/gmake/files/patch-src-default.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/default.c.orig 2020-01-03 07:11:27 UTC -+++ src/default.c -@@ -530,7 +530,7 @@ static const char *default_variables[] = - "OBJC", "gcc", - #else - "CC", "cc", -- "CXX", "g++", -+ "CXX", "c++", - "OBJC", "cc", - #endif - diff --git a/devel/gmake/files/patch-src-makeint.h b/devel/gmake/files/patch-src-makeint.h deleted file mode 100644 index 0bf6dad2f146..000000000000 --- a/devel/gmake/files/patch-src-makeint.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/makeint.h.orig 2020-01-19 20:32:59 UTC -+++ src/makeint.h -@@ -116,7 +116,6 @@ extern int errno; - - /* Some systems define _POSIX_VERSION but are not really POSIX.1. */ - #if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386))) --# undef POSIX - #endif - - #if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE) diff --git a/devel/gmake/pkg-plist b/devel/gmake/pkg-plist index 7979f4a46ae9..0bd0d215c14f 100644 --- a/devel/gmake/pkg-plist +++ b/devel/gmake/pkg-plist @@ -21,6 +21,7 @@ include/gnumake.h %%NLS%%share/locale/pl/LC_MESSAGES/make.mo %%NLS%%share/locale/pt/LC_MESSAGES/make.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/make.mo +%%NLS%%share/locale/ro/LC_MESSAGES/make.mo %%NLS%%share/locale/ru/LC_MESSAGES/make.mo %%NLS%%share/locale/sr/LC_MESSAGES/make.mo %%NLS%%share/locale/sv/LC_MESSAGES/make.mo diff --git a/games/jfsw/files/patch-jfaudiolib_Makefile.shared b/games/jfsw/files/patch-jfaudiolib_Makefile.shared new file mode 100644 index 000000000000..48cb6b11cf2f --- /dev/null +++ b/games/jfsw/files/patch-jfaudiolib_Makefile.shared @@ -0,0 +1,17 @@ +--- jfaudiolib/Makefile.shared.orig 2021-12-25 07:53:32 UTC ++++ jfaudiolib/Makefile.shared +@@ -7,8 +7,12 @@ JFAUDIOLIB_LDFLAGS= + JFAUDIOLIB=libjfaudiolib.a + JFAUDIOLIB_LDFLAGS= + +-SDL2CONFIG?=$(shell which sdl2-config || which false) +-PKGCONFIG?=$(shell which pkg-config || which false) ++ifndef SDL2CONFIG ++SDL2CONFIG!=which sdl2-config || which false ++endif ++ifndef PKGCONFIG ++PKGCONFIG!=which pkg-config || which false ++endif + + machine=$(strip $(shell $(CC) -dumpmachine)) + diff --git a/games/jfsw/files/patch-jfbuild_Makefile.shared b/games/jfsw/files/patch-jfbuild_Makefile.shared new file mode 100644 index 000000000000..98f7d6f53b72 --- /dev/null +++ b/games/jfsw/files/patch-jfbuild_Makefile.shared @@ -0,0 +1,17 @@ +--- jfbuild/Makefile.shared.orig 2021-12-09 08:50:13 UTC ++++ jfbuild/Makefile.shared +@@ -3,8 +3,12 @@ EDITORLIB=src/libbuild.a + ENGINELIB=src/libengine.a + EDITORLIB=src/libbuild.a + +-SDL2CONFIG?=$(shell which sdl2-config || which false) +-PKGCONFIG?=$(shell which pkg-config || which false) ++ifndef SDL2CONFIG ++SDL2CONFIG!=which sdl2-config || which false ++endif ++ifndef PKGCONFIG ++PKGCONFIG!=which pkg-config || which false ++endif + export SDL2CONFIG PKGCONFIG + + # Path to the included libsquish diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile index b2e137d0647c..64597f436b12 100644 --- a/graphics/dynamechs/Makefile +++ b/graphics/dynamechs/Makefile @@ -20,7 +20,7 @@ SHEBANG_FILES= make/*.pl MAKE_ENV= OPENGLINCDIR="${LOCALBASE}/include" \ OPENGLLIBDIR="${LOCALBASE}/lib" - +MAKE_JOBS_UNSAFE=yes ALL_TARGET= freebsd post-patch: diff --git a/math/apron/files/patch-apron_Makefile b/math/apron/files/patch-apron_Makefile new file mode 100644 index 000000000000..215bd570ed06 --- /dev/null +++ b/math/apron/files/patch-apron_Makefile @@ -0,0 +1,11 @@ +--- apron/Makefile.orig 2020-09-11 15:30:57 UTC ++++ apron/Makefile +@@ -163,7 +163,7 @@ ap_version.h: ../version.mk + echo "#define AP_VERSION \"${VERSION_STR}\"" >> $@ + echo "#endif" >> $@ + +-.PHONY : dep depend ++.PHONY : dep + + #-------------------------------------------------------------- + # IMPLICIT RULES AND DEPENDENCIES diff --git a/math/cado-nfs/Makefile b/math/cado-nfs/Makefile index 623b3bb4d7ad..f0ffd582f39d 100644 --- a/math/cado-nfs/Makefile +++ b/math/cado-nfs/Makefile @@ -13,15 +13,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_BUILD= libfmt # bundled libfmt conflicts with package-installed headers BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ - bash:shells/bash \ - gmake:devel/gmake + bash:shells/bash LIB_DEPENDS= libecm.so:math/gmp-ecm \ libgf2x.so:math/gf2x \ libgmp.so:math/gmp \ libhwloc.so:devel/hwloc2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} -USES= cmake:noninja compiler:c++11-lang perl5 python shebangfix # noninja because: bad $-escape (literal $ must be written as $$) +USES= cmake:noninja compiler:c++11-lang gmake perl5 python shebangfix # noninja because: bad $-escape (literal $ must be written as $$) USE_GITLAB= yes GL_SITE= https://gitlab.inria.fr @@ -33,7 +32,7 @@ CXXFLAGS_i386= -msse2 # workaround for error: always_inline function '_mm_setzer TEST_TARGET= check # 'test' does the same but is less verbose -BINARY_ALIAS= python3=${PYTHON_CMD} make=${GMAKE} +BINARY_ALIAS= python3=${PYTHON_CMD} .include <bsd.port.options.mk> diff --git a/net/delegate/Makefile b/net/delegate/Makefile index 52b2d3ce9261..4285c709eb56 100644 --- a/net/delegate/Makefile +++ b/net/delegate/Makefile @@ -23,6 +23,7 @@ SUB_FILES= pkg-message ADMIN?= admin@example.com CFLAGS+= -x c++ -std=gnu++98 +MAKE_JOBS_UNSAFE=yes PLIST_FILES= sbin/delegated etc/rc.d/delegated.sh-dist PORTDOCS= CHANGES COPYRIGHT HowToDG.html IPv6NOTE.txt \ diff --git a/security/sslproxy/files/patch-Mk_main.mk b/security/sslproxy/files/patch-Mk_main.mk new file mode 100644 index 000000000000..70b4b18cbc84 --- /dev/null +++ b/security/sslproxy/files/patch-Mk_main.mk @@ -0,0 +1,51 @@ +--- Mk/main.mk.orig 2022-12-26 01:44:45 UTC ++++ Mk/main.mk +@@ -302,11 +302,13 @@ endif + && echo sqlite3) + endif + endif ++PKGS:= $(PKGS) + TPKGS:= + ifndef CHECK_BASE + TPKGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --exists check \ + && echo check) + endif ++TPKGS:= $(TPKGS) + + # Function: Generate list of base paths to search when locating packages + # $1 packagename +@@ -422,18 +424,24 @@ ifneq (,$(strip $(PKGS))) + endif + + ifneq (,$(strip $(PKGS))) +-PKG_CFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(PKGS)) +-PKG_CPPFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(PKGS)) +-PKG_LDFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-L \ +- --libs-only-other $(PKGS)) +-PKG_LIBS+= $(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(PKGS)) ++PKGS_CFLAGS!= $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(PKGS) ++PKG_CFLAGS+= $(PKGS_CFLAGS) ++PKGS_CPPFLAGS!= $(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(PKGS) ++PKG_CPPFLAGS+= $(PKGS_CPPFLAGS) ++PKGS_LDFLAGS!= $(PKGCONFIG) $(PCFLAGS) --libs-only-L --libs-only-other $(PKGS) ++PKG_LDFLAGS+= $(PKGS_LDFLAGS) ++PKGS_LIBS!= $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(PKGS) ++PKG_LIBS+= $(PKGS_LIBS) + endif + ifneq (,$(strip $(TPKGS))) +-TPKG_CFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(TPKGS)) +-TPKG_CPPFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(TPKGS)) +-TPKG_LDFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-L \ +- --libs-only-other $(TPKGS)) +-TPKG_LIBS+= $(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(TPKGS)) ++TPKGS_CFLAGS!= $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(TPKGS) ++TPKG_CFLAGS+= $(TPKGS_CFLAGS) ++TPKGS_CPPFLAGS!=$(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(TPKGS) ++TPKG_CPPFLAGS+=$(TPKGS_CPPFLAGS) ++TPKGS_LDFLAGS!= $(PKGCONFIG) $(PCFLAGS) --libs-only-L --libs-only-other $(TPKGS) ++TPKG_LDFLAGS+= $(TPKGS_LDFLAGS) ++TPKGS_LIBS!= $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(TPKGS) ++TPKG_LIBS+= $(TPKGS_LIBS) + endif + + CPPDEFS+= -D_GNU_SOURCE \