View | Details | Raw Unified | Return to bug 272216 | Differences between
and this patch

Collapse All | Expand All

(-)b/audio/flite/files/patch-main_Makefile (-1 / +10 lines)
Lines 1-6 Link Here
1
--- main/Makefile.orig	2017-10-21 14:01:07 UTC
1
--- main/Makefile.orig	2017-10-21 14:01:07 UTC
2
+++ main/Makefile
2
+++ main/Makefile
3
@@ -133,15 +133,15 @@ $(BINDIR)/flite_${VOICE}: flite_main.o flite_lang_list
3
@@ -49,7 +49,7 @@ ALL = shared_libs \
4
       $(BINDIR)/flite$(EXEEXT) \
5
       $(BINDIR)/t2p$(EXEEXT) $(BINDIR)/compile_regexes$(EXEEXT) \
6
       $(BINDIR)/flitevox_info$(EXEEXT) \
7
-      flite_voice_list.c each $(EXTRABINS)
8
+      each $(EXTRABINS)
9
 
10
 VOICES=$(VOXES)
11
 VOICELIBS=$(VOICES:%=flite_%)
12
@@ -133,15 +133,15 @@ install:
4
 
13
 
5
 install:
14
 install:
6
 #       The basic binaries
15
 #       The basic binaries
(-)b/devel/asmutils/Makefile (+1 lines)
Lines 17-22 BUILD_DEPENDS= nasm:devel/nasm Link Here
17
USES=		gmake
17
USES=		gmake
18
USE_GCC=	yes
18
USE_GCC=	yes
19
MAKE_ARGS=	OS="${OPSYS:tu}" KERNEL="${OSREL:S/.//g}" CC="${CC}" LD="${LD}"
19
MAKE_ARGS=	OS="${OPSYS:tu}" KERNEL="${OSREL:S/.//g}" CC="${CC}" LD="${LD}"
20
MAKE_JOBS_UNSAFE=yes
20
21
21
# This will play merry hell with portlint(1)
22
# This will play merry hell with portlint(1)
22
BINARIES=	bonus/asmutils basename cal cat chmod chown chroot cmp cp \
23
BINARIES=	bonus/asmutils basename cal cat chmod chown chroot cmp cp \
(-)b/devel/cscout/files/patch-src_Makefile (-2 / +20 lines)
Lines 1-6 Link Here
1
--- src/Makefile.orig	2019-11-04 16:42:35 UTC
1
--- src/Makefile.orig	2019-11-04 16:42:35 UTC
2
+++ src/Makefile
2
+++ src/Makefile
3
@@ -207,12 +207,13 @@ mkerr:
3
@@ -153,7 +153,7 @@ build/%.o: %.cpp
4
 
5
 # Dependency generation rules
6
 # See https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html
7
-dep/%.d: %.cpp
8
+dep/%.d: %.cpp parse.tab.h
9
 	@set -e; rm -f $@; \
10
 	mkdir -p dep ; \
11
 	$(CXX) -MM $(CPPFLAGS) $< > $@.$$$$; \
12
@@ -167,6 +167,8 @@ dep/%.d: %.c
13
 	sed 's,\($*\)\.o[ :]*,build/\1.o $@ : ,g' < $@.$$$$ > $@; \
14
 	rm -f $@.$$$$
15
 
16
+dep/html.d: css.c
17
+
18
 # Serialize execution order to ensure the dependencies are built before
19
 # compiling the object files in make -j invocations
20
 all:
21
@@ -207,12 +209,13 @@ mkerr:
4
 
22
 
5
 # This ensures that the version.cpp is regenerated iff its SHA doesn't
23
 # This ensures that the version.cpp is regenerated iff its SHA doesn't
6
 # match the current one.
24
 # match the current one.
Lines 17-23 Link Here
17
 
35
 
18
 
36
 
19
 test:
37
 test:
20
@@ -264,6 +265,7 @@ obfuscation:
38
@@ -264,6 +267,7 @@ install: build/cscout
21
 	)
39
 	)
22
 
40
 
23
 install: build/cscout
41
 install: build/cscout
(-)b/devel/gdb/Makefile (-12 / +12 lines)
Lines 141-148 do-install: Link Here
141
		${STAGEDIR}${PREFIX}/bin/gdb${VER}
141
		${STAGEDIR}${PREFIX}/bin/gdb${VER}
142
	${INSTALL_MAN} ${WRKSRC}/gdb/doc/gdb.1 \
142
	${INSTALL_MAN} ${WRKSRC}/gdb/doc/gdb.1 \
143
		${STAGEDIR}${PREFIX}/share/man/man1/gdb${VER}.1
143
		${STAGEDIR}${PREFIX}/share/man/man1/gdb${VER}.1
144
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; \
144
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \
145
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-syscalls )
145
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-syscalls )
146
146
147
do-install-KGDB-on:
147
do-install-KGDB-on:
148
	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gdb/kgdb \
148
	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gdb/kgdb \
Lines 162-179 do-install-GDB_LINK-on: Link Here
162
.endif
162
.endif
163
163
164
do-install-PYTHON-on:
164
do-install-PYTHON-on:
165
	(cd ${INSTALL_WRKSRC}/gdb ; \
165
	(cd ${INSTALL_WRKSRC}/gdb ; ${SETENVI} ${WRK_ENV} \
166
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python )
166
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python )
167
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; \
167
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \
168
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python )
168
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-python )
169
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/python && \
169
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/python && \
170
		${PYTHON_CMD} -m compileall .)
170
		${PYTHON_CMD} -m compileall .)
171
. for f in gdb gdb/command gdb/function gdb/printer
171
. for f in gdb gdb/command gdb/function gdb/printer
172
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/python/${f} ; ${CHMOD} 644 *.py* )
172
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/python/${f} ; ${CHMOD} 644 *.py* )
173
. endfor
173
. endfor
174
.if exists(/usr/lib/libc++.so.1) || exists(/lib/libc++.so.1)
174
.if exists(/usr/lib/libc++.so.1) || exists(/lib/libc++.so.1)
175
	@(cd ${WRKSRC_libcxx} ; \
175
	@(cd ${WRKSRC_libcxx} ; ${SETENVI} ${WRK_ENV} \
176
		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} \
176
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} \
177
		    LIBCXX_DIR="${LIBCXX_DIR}" install )
177
		    LIBCXX_DIR="${LIBCXX_DIR}" install )
178
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/auto-load/${LIBCXX_DIR} && \
178
	@(cd ${STAGEDIR}${PREFIX}/share/gdb/auto-load/${LIBCXX_DIR} && \
179
		${PYTHON_CMD} -m compileall .)
179
		${PYTHON_CMD} -m compileall .)
Lines 187-195 do-install-PYTHON-on: Link Here
187
# breakage at run time.
187
# breakage at run time.
188
188
189
do-install-GUILE-on:
189
do-install-GUILE-on:
190
	(cd ${INSTALL_WRKSRC}/gdb ; \
190
	(cd ${INSTALL_WRKSRC}/gdb ; ${SETENVI} ${WRK_ENV} \
191
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
191
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
192
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; \
192
	(cd ${INSTALL_WRKSRC}/gdb/data-directory ; ${SETENVI} ${WRK_ENV} \
193
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
193
		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
194
194
195
.include <bsd.port.post.mk>
195
.include <bsd.port.post.mk>
(-)b/devel/gmake/Makefile (-10 / +8 lines)
Lines 1-9 Link Here
1
PORTNAME=	gmake
1
PORTNAME=	make
2
PORTVERSION=	4.3
2
DISTVERSION=	4.4.1
3
PORTREVISION=	3
4
CATEGORIES=	devel
3
CATEGORIES=	devel
5
MASTER_SITES=	GNU/make
4
MASTER_SITES=	GNU
6
DISTNAME=	make-${PORTVERSION}
5
PKGNAMEPREFIX=	g
7
6
8
# note: before committing to this port, contact portmgr to arrange for an
7
# note: before committing to this port, contact portmgr to arrange for an
9
# experimental ports run.  Untested commits may be backed out at portmgr's
8
# experimental ports run.  Untested commits may be backed out at portmgr's
Lines 15-28 WWW= https://www.gnu.org/software/make/ Link Here
15
LICENSE=	GPLv3
14
LICENSE=	GPLv3
16
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
17
16
17
USES=		cpe tar:lz
18
CPE_VENDOR=	gnu
19
18
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
21
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
20
CONFIGURE_ARGS=	--program-prefix=g \
22
CONFIGURE_ARGS=	--program-prefix=g \
21
		--without-guile
23
		--without-guile
22
24
23
USES=		cpe tar:lz
25
INFO=		make
24
CPE_VENDOR=	gnu
25
CPE_PRODUCT=	make
26
26
27
OPTIONS_DEFINE=	NLS
27
OPTIONS_DEFINE=	NLS
28
OPTIONS_SUB=	yes
28
OPTIONS_SUB=	yes
Lines 30-35 OPTIONS_SUB= yes Link Here
30
NLS_USES=	gettext-runtime
30
NLS_USES=	gettext-runtime
31
NLS_CONFIGURE_ENABLE=	nls
31
NLS_CONFIGURE_ENABLE=	nls
32
32
33
INFO=		make
34
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)b/devel/gmake/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1587222848
1
TIMESTAMP = 1687757277
2
SHA256 (make-4.3.tar.lz) = de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82
2
SHA256 (make-4.4.1.tar.lz) = 8814ba072182b605d156d7589c19a43b89fc58ea479b9355146160946f8cf6e9
3
SIZE (make-4.3.tar.lz) = 1266180
3
SIZE (make-4.4.1.tar.lz) = 1305648
(-)a/devel/gmake/files/patch-10-6e6abd0c (-127 lines)
Removed Link Here
1
From: Bruno Haible <bruno@clisp.org>
2
Date: Sat, 23 May 2020 10:19:34 +0000 (+0200)
3
Subject: findprog-in: Ignore directories.
4
X-Git-Url: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff_plain;h=6e6abd0cdfe4bb96f6412aebc511f10bf254a820
5
6
findprog-in: Ignore directories.
7
8
Reported by Frederick Eaton via Dmitry Goncharov in
9
<https://lists.gnu.org/archive/html/bug-gnulib/2020-03/msg00003.html>.
10
11
* lib/findprog-in.c (find_in_given_path): When the file found is a
12
directory, set errno to EACCES and, during a PATH search, continue
13
searching.
14
* modules/findprog-in (Depends-on): Add sys_stat, stat.
15
---
16
17
diff --git a/lib/findprog-in.c b/lib/findprog-in.c
18
index c254f2f..0f76e36 100644
19
--- lib/findprog-in.c
20
+++ lib/findprog-in.c
21
@@ -26,6 +26,7 @@
22
 #include <stdlib.h>
23
 #include <string.h>
24
 #include <unistd.h>
25
+#include <sys/stat.h>
26
 
27
 #include "filename.h"
28
 #include "concat-filename.h"
29
@@ -58,8 +59,8 @@ static const char * const suffixes[] =
30
     /* Note: The cmd.exe program does a different lookup: It searches according
31
        to the PATHEXT environment variable.
32
        See <https://stackoverflow.com/questions/7839150/>.
33
-       Also, it executes files ending .bat and .cmd directly without letting the
34
-       kernel interpret the program file.  */
35
+       Also, it executes files ending in .bat and .cmd directly without letting
36
+       the kernel interpret the program file.  */
37
     #elif defined __CYGWIN__
38
     "", ".exe", ".com"
39
     #elif defined __EMX__
40
@@ -136,14 +137,26 @@ find_in_given_path (const char *progname, const char *path,
41
                        call access() despite its design flaw.  */
42
                     if (eaccess (progpathname, X_OK) == 0)
43
                       {
44
-                        /* Found!  */
45
-                        if (strcmp (progpathname, progname) == 0)
46
+                        /* Check that the progpathname does not point to a
47
+                           directory.  */
48
+                        struct stat statbuf;
49
+
50
+                        if (stat (progpathname, &statbuf) >= 0)
51
                           {
52
-                            free (progpathname);
53
-                            return progname;
54
+                            if (! S_ISDIR (statbuf.st_mode))
55
+                              {
56
+                                /* Found!  */
57
+                                if (strcmp (progpathname, progname) == 0)
58
+                                  {
59
+                                    free (progpathname);
60
+                                    return progname;
61
+                                  }
62
+                                else
63
+                                  return progpathname;
64
+                              }
65
+
66
+                            errno = EACCES;
67
                           }
68
-                        else
69
-                          return progpathname;
70
                       }
71
 
72
                     if (errno != ENOENT)
73
@@ -210,25 +223,37 @@ find_in_given_path (const char *progname, const char *path,
74
                    call access() despite its design flaw.  */
75
                 if (eaccess (progpathname, X_OK) == 0)
76
                   {
77
-                    /* Found!  */
78
-                    if (strcmp (progpathname, progname) == 0)
79
+                    /* Check that the progpathname does not point to a
80
+                       directory.  */
81
+                    struct stat statbuf;
82
+
83
+                    if (stat (progpathname, &statbuf) >= 0)
84
                       {
85
-                        free (progpathname);
86
-
87
-                        /* Add the "./" prefix for real, that
88
-                           xconcatenated_filename() optimized away.  This
89
-                           avoids a second PATH search when the caller uses
90
-                           execl/execv/execlp/execvp.  */
91
-                        progpathname =
92
-                          XNMALLOC (2 + strlen (progname) + 1, char);
93
-                        progpathname[0] = '.';
94
-                        progpathname[1] = NATIVE_SLASH;
95
-                        memcpy (progpathname + 2, progname,
96
-                                strlen (progname) + 1);
97
-                      }
98
+                        if (! S_ISDIR (statbuf.st_mode))
99
+                          {
100
+                            /* Found!  */
101
+                            if (strcmp (progpathname, progname) == 0)
102
+                              {
103
+                                free (progpathname);
104
+
105
+                                /* Add the "./" prefix for real, that
106
+                                   xconcatenated_filename() optimized away.
107
+                                   This avoids a second PATH search when the
108
+                                   caller uses execl/execv/execlp/execvp.  */
109
+                                progpathname =
110
+                                  XNMALLOC (2 + strlen (progname) + 1, char);
111
+                                progpathname[0] = '.';
112
+                                progpathname[1] = NATIVE_SLASH;
113
+                                memcpy (progpathname + 2, progname,
114
+                                        strlen (progname) + 1);
115
+                              }
116
+
117
+                            free (path_copy);
118
+                            return progpathname;
119
+                          }
120
 
121
-                    free (path_copy);
122
-                    return progpathname;
123
+                        errno = EACCES;
124
+                      }
125
                   }
126
 
127
                 if (errno != ENOENT)
(-)b/devel/gmake/files/patch-configure (+11 lines)
Added Link Here
1
--- configure.orig	2023-02-26 18:46:38 UTC
2
+++ configure
3
@@ -6741,7 +6741,7 @@ fi
4
 
5
 
6
 
7
-printf "%s\n" "#define MAKE_CXX \"$CXX\"" >>confdefs.h
8
+printf "%s\n" "#define MAKE_CXX \"c++\"" >>confdefs.h
9
 
10
 
11
 # Configure gnulib
(-)a/devel/gmake/files/patch-lib-glob.c (-10 lines)
Removed Link Here
1
--- lib/glob.c.orig	2020-01-03 07:11:27 UTC
2
+++ lib/glob.c
3
@@ -203,7 +203,6 @@ my_realloc (p, n)
4
     return (char *) malloc (n);
5
   return (char *) realloc (p, n);
6
 }
7
-# define	realloc	my_realloc
8
 # endif /* __SASC */
9
 #endif /* __GNU_LIBRARY__ || __DJGPP__ */
10
 
(-)a/devel/gmake/files/patch-src-default.c (-11 lines)
Removed Link Here
1
--- src/default.c.orig	2020-01-03 07:11:27 UTC
2
+++ src/default.c
3
@@ -530,7 +530,7 @@ static const char *default_variables[] =
4
     "OBJC", "gcc",
5
 #else
6
     "CC", "cc",
7
-    "CXX", "g++",
8
+    "CXX", "c++",
9
     "OBJC", "cc",
10
 #endif
11
 
(-)a/devel/gmake/files/patch-src-makeint.h (-10 lines)
Removed Link Here
1
--- src/makeint.h.orig	2020-01-19 20:32:59 UTC
2
+++ src/makeint.h
3
@@ -116,7 +116,6 @@ extern int errno;
4
 
5
 /* Some systems define _POSIX_VERSION but are not really POSIX.1.  */
6
 #if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386)))
7
-# undef POSIX
8
 #endif
9
 
10
 #if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE)
(-)b/devel/gmake/pkg-plist (+1 lines)
Lines 21-26 include/gnumake.h Link Here
21
%%NLS%%share/locale/pl/LC_MESSAGES/make.mo
21
%%NLS%%share/locale/pl/LC_MESSAGES/make.mo
22
%%NLS%%share/locale/pt/LC_MESSAGES/make.mo
22
%%NLS%%share/locale/pt/LC_MESSAGES/make.mo
23
%%NLS%%share/locale/pt_BR/LC_MESSAGES/make.mo
23
%%NLS%%share/locale/pt_BR/LC_MESSAGES/make.mo
24
%%NLS%%share/locale/ro/LC_MESSAGES/make.mo
24
%%NLS%%share/locale/ru/LC_MESSAGES/make.mo
25
%%NLS%%share/locale/ru/LC_MESSAGES/make.mo
25
%%NLS%%share/locale/sr/LC_MESSAGES/make.mo
26
%%NLS%%share/locale/sr/LC_MESSAGES/make.mo
26
%%NLS%%share/locale/sv/LC_MESSAGES/make.mo
27
%%NLS%%share/locale/sv/LC_MESSAGES/make.mo
(-)b/games/jfsw/files/patch-jfaudiolib_Makefile.shared (+17 lines)
Added Link Here
1
--- jfaudiolib/Makefile.shared.orig	2021-12-25 07:53:32 UTC
2
+++ jfaudiolib/Makefile.shared
3
@@ -7,8 +7,12 @@ JFAUDIOLIB_LDFLAGS=
4
 JFAUDIOLIB=libjfaudiolib.a
5
 JFAUDIOLIB_LDFLAGS=
6
 
7
-SDL2CONFIG?=$(shell which sdl2-config || which false)
8
-PKGCONFIG?=$(shell which pkg-config || which false)
9
+ifndef SDL2CONFIG
10
+SDL2CONFIG!=which sdl2-config || which false
11
+endif
12
+ifndef PKGCONFIG
13
+PKGCONFIG!=which pkg-config || which false
14
+endif
15
 
16
 machine=$(strip $(shell $(CC) -dumpmachine))
17
 
(-)b/games/jfsw/files/patch-jfbuild_Makefile.shared (+17 lines)
Added Link Here
1
--- jfbuild/Makefile.shared.orig	2021-12-09 08:50:13 UTC
2
+++ jfbuild/Makefile.shared
3
@@ -3,8 +3,12 @@ EDITORLIB=src/libbuild.a
4
 ENGINELIB=src/libengine.a
5
 EDITORLIB=src/libbuild.a
6
 
7
-SDL2CONFIG?=$(shell which sdl2-config || which false)
8
-PKGCONFIG?=$(shell which pkg-config || which false)
9
+ifndef SDL2CONFIG
10
+SDL2CONFIG!=which sdl2-config || which false
11
+endif
12
+ifndef PKGCONFIG
13
+PKGCONFIG!=which pkg-config || which false
14
+endif
15
 export SDL2CONFIG PKGCONFIG
16
 
17
 # Path to the included libsquish
(-)b/graphics/dynamechs/Makefile (-1 / +1 lines)
Lines 20-26 SHEBANG_FILES= make/*.pl Link Here
20
20
21
MAKE_ENV=	OPENGLINCDIR="${LOCALBASE}/include" \
21
MAKE_ENV=	OPENGLINCDIR="${LOCALBASE}/include" \
22
		OPENGLLIBDIR="${LOCALBASE}/lib"
22
		OPENGLLIBDIR="${LOCALBASE}/lib"
23
23
MAKE_JOBS_UNSAFE=yes
24
ALL_TARGET=	freebsd
24
ALL_TARGET=	freebsd
25
25
26
post-patch:
26
post-patch:
(-)b/math/apron/files/patch-apron_Makefile (+11 lines)
Added Link Here
1
--- apron/Makefile.orig	2020-09-11 15:30:57 UTC
2
+++ apron/Makefile
3
@@ -163,7 +163,7 @@ ap_version.h: ../version.mk
4
 	echo "#define AP_VERSION       \"${VERSION_STR}\"" >> $@
5
 	echo "#endif" >> $@
6
 
7
-.PHONY : dep depend
8
+.PHONY : dep
9
 
10
 #--------------------------------------------------------------
11
 # IMPLICIT RULES AND DEPENDENCIES
(-)b/math/cado-nfs/Makefile (-4 / +4 lines)
Lines 13-27 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
13
CONFLICTS_BUILD=	libfmt # bundled libfmt conflicts with package-installed headers
13
CONFLICTS_BUILD=	libfmt # bundled libfmt conflicts with package-installed headers
14
14
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
16
		bash:shells/bash \
16
		bash:shells/bash
17
		gmake:devel/gmake
18
LIB_DEPENDS=	libecm.so:math/gmp-ecm \
17
LIB_DEPENDS=	libecm.so:math/gmp-ecm \
19
		libgf2x.so:math/gf2x \
18
		libgf2x.so:math/gf2x \
20
		libgmp.so:math/gmp \
19
		libgmp.so:math/gmp \
21
		libhwloc.so:devel/hwloc2
20
		libhwloc.so:devel/hwloc2
22
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
21
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
23
22
24
USES=		cmake:noninja compiler:c++11-lang perl5 python shebangfix # noninja because: bad $-escape (literal $ must be written as $$)
23
USES=		cmake:noninja compiler:c++11-lang gmake perl5 python shebangfix # noninja because: bad $-escape (literal $ must be written as $$)
25
24
26
USE_GITLAB=	yes
25
USE_GITLAB=	yes
27
GL_SITE=	https://gitlab.inria.fr
26
GL_SITE=	https://gitlab.inria.fr
Lines 30-39 GL_TAGNAME= 3ab6a4781fa5d218ed332834809ba6c6fd1a591f Link Here
30
SHEBANG_GLOB=	*.py
29
SHEBANG_GLOB=	*.py
31
30
32
CXXFLAGS_i386=	-msse2 # workaround for error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'gf2x_mul4' that is compiled without support for 'sse2'
31
CXXFLAGS_i386=	-msse2 # workaround for error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'gf2x_mul4' that is compiled without support for 'sse2'
32
WRK_ENV=	MAKE=${MAKE_CMD}
33
33
34
TEST_TARGET=	check # 'test' does the same but is less verbose
34
TEST_TARGET=	check # 'test' does the same but is less verbose
35
35
36
BINARY_ALIAS=	python3=${PYTHON_CMD} make=${GMAKE}
36
BINARY_ALIAS=	python3=${PYTHON_CMD}
37
37
38
.include <bsd.port.options.mk>
38
.include <bsd.port.options.mk>
39
39
(-)b/net/delegate/Makefile (+1 lines)
Lines 23-28 SUB_FILES= pkg-message Link Here
23
ADMIN?=		admin@example.com
23
ADMIN?=		admin@example.com
24
24
25
CFLAGS+=	-x c++ -std=gnu++98
25
CFLAGS+=	-x c++ -std=gnu++98
26
MAKE_JOBS_UNSAFE=yes
26
27
27
PLIST_FILES=	sbin/delegated etc/rc.d/delegated.sh-dist
28
PLIST_FILES=	sbin/delegated etc/rc.d/delegated.sh-dist
28
PORTDOCS=	CHANGES COPYRIGHT HowToDG.html IPv6NOTE.txt \
29
PORTDOCS=	CHANGES COPYRIGHT HowToDG.html IPv6NOTE.txt \
(-)b/security/sslproxy/files/patch-Mk_main.mk (-1 / +51 lines)
Added Link Here
0
- 
1
--- Mk/main.mk.orig	2022-12-26 01:44:45 UTC
2
+++ Mk/main.mk
3
@@ -302,11 +302,13 @@ endif
4
 		&& echo sqlite3)
5
 endif
6
 endif
7
+PKGS:=		$(PKGS)
8
 TPKGS:=		
9
 ifndef CHECK_BASE
10
 TPKGS+=		$(shell $(PKGCONFIG) $(PCFLAGS) --exists check \
11
 		&& echo check)
12
 endif
13
+TPKGS:=		$(TPKGS)
14
 
15
 # Function: Generate list of base paths to search when locating packages
16
 # $1 packagename
17
@@ -422,18 +424,24 @@ ifneq (,$(strip $(PKGS)))
18
 endif
19
 
20
 ifneq (,$(strip $(PKGS)))
21
-PKG_CFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(PKGS))
22
-PKG_CPPFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(PKGS))
23
-PKG_LDFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-L \
24
-		--libs-only-other $(PKGS))
25
-PKG_LIBS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(PKGS))
26
+PKGS_CFLAGS!=	$(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(PKGS)
27
+PKG_CFLAGS+=	$(PKGS_CFLAGS)
28
+PKGS_CPPFLAGS!=	$(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(PKGS)
29
+PKG_CPPFLAGS+=	$(PKGS_CPPFLAGS)
30
+PKGS_LDFLAGS!=	$(PKGCONFIG) $(PCFLAGS) --libs-only-L --libs-only-other $(PKGS)
31
+PKG_LDFLAGS+=	$(PKGS_LDFLAGS)
32
+PKGS_LIBS!=	$(PKGCONFIG) $(PCFLAGS) --libs-only-l $(PKGS)
33
+PKG_LIBS+=	$(PKGS_LIBS)
34
 endif
35
 ifneq (,$(strip $(TPKGS)))
36
-TPKG_CFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(TPKGS))
37
-TPKG_CPPFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(TPKGS))
38
-TPKG_LDFLAGS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-L \
39
-		--libs-only-other $(TPKGS))
40
-TPKG_LIBS+=	$(shell $(PKGCONFIG) $(PCFLAGS) --libs-only-l $(TPKGS))
41
+TPKGS_CFLAGS!=	$(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(TPKGS)
42
+TPKG_CFLAGS+=	$(TPKGS_CFLAGS)
43
+TPKGS_CPPFLAGS!=$(PKGCONFIG) $(PCFLAGS) --cflags-only-I $(TPKGS)
44
+TPKG_CPPFLAGS+=$(TPKGS_CPPFLAGS)
45
+TPKGS_LDFLAGS!=	$(PKGCONFIG) $(PCFLAGS) --libs-only-L --libs-only-other $(TPKGS)
46
+TPKG_LDFLAGS+=	$(TPKGS_LDFLAGS)
47
+TPKGS_LIBS!=	$(PKGCONFIG) $(PCFLAGS) --libs-only-l $(TPKGS)
48
+TPKG_LIBS+=	$(TPKGS_LIBS)
49
 endif
50
 
51
 CPPDEFS+=	-D_GNU_SOURCE \

Return to bug 272216