diff --git a/Mk/Uses/autoreconf.mk b/Mk/Uses/autoreconf.mk index 608027f599ff..74cb4d201356 100644 --- a/Mk/Uses/autoreconf.mk +++ b/Mk/Uses/autoreconf.mk @@ -1,136 +1,136 @@ # Run autoreconf in AUTORECONF_WRKSRC to update configure, Makefile.in and # other build scripts. # # Autoreconf runs the following commands provided by devel/autoconf and # devel/automake. Each command applies to a single configure.ac or # configure.in (old name). If configure.ac defines subdirectories with their # own configure.ac (using AC_CONFIG_SUBDIRS), autoreconf will recursively # update those as well. # # aclocal Looks up definitions of m4 macros used in configure.ac that are # not provided by autoconf and copies them from their source *.m4 # file to aclocal.m4. Local *.m4 files included with the source # code take precedence over systemwide *.m4 files. # autoconf Generates configure from configure.ac using macro definitions # provided by autoconf itself and aclocal.m4. # autoheader Generates a configuration header (typically config.h.in) from # configure.ac and the macro definitions in aclocal.m4. Run by # autoreconf if configure.ac (or one of the macros it uses) # contains AC_CONFIG_HEADERS, AC_CONFIG_HEADER (undocumented), or # AM_CONFIG_HEADER (obsolete). # automake Generates Makefile.in from Makefile.am for each Makefile # listed in configure.ac (using AC_CONFIG_FILES). Also updates # build scripts like compile, depcomp, install-sh, ylwrap,... # Run by autoreconf if configure.ac (or one of the macros it # uses) contains AM_INIT_AUTOMAKE. # # Autoreconf may also run these additional commands provided by other ports. # A port needs to have a build depdendency on these ports when that's the case. # # autopoint Provided by devel/gettext-tools. Updates gettext related *.m4 # files included with the source code and build scripts such as # config.rpath. Run by autoreconf if configure.ac (or one of the # macros it uses) contains AM_GNU_GETTEXT. A build dependency on # devel/gettext-tools can be added with USES+=gettext-tools. # Note that autoreconf runs autopoint even if a port has an NLS # option and the option is disabled. The build dependency on # gettext-tools is not optional. If the run dependency on # gettext is optional this can be specified with # NLS_USES=gettext-runtime. # gtkdocize Provided by textproc/gtk-doc. Updates gtk-doc related *.m4 # files included with the source code and build scripts such as # gtk-doc.make. Run by autoreconf if configure.ac contains # GTK_DOC_CHECK. The build dependency can be made optional with # DOCS option and DOCS_BUILD_DEPENDS+=gtkdocize:textproc/gtk-doc # on condition that you remove GTK_DOC_CHECK from configure.ac, # for instance using a post-patch-DOCS-off target with the # following command: # @${REINPLACE_CMD} /^GTK_DOC_CHECK/d ${WRKSRC}/configure.ac # It is likely that more patching is needed to eliminate or avoid # use of gtk-doc. # intltoolize Provided by textproc/intltool. Updates intltool related *.m4 # files included with the source code and build scripts such as # po/Makefile.in.in. Run by autoreconf if configure.ac contains # (AC|IT)_PROG_INTLTOOL. A build dependency on textproc/intltool # can be added with USES+=gnome and USE_GNOME+=intltool. # libtoolize Provided by devel/libtool. Updates libtool related *.m4 files # included with the source code and build scripts such as # ltmain.sh. Run by autoreconf if configure.ac (or one of the # macros it uses) contains AC_PROG_LIBTOOL or LT_INIT. A build # dependency on devel/libtool is added implicitly when USES # contains both autoreconf and libtool. # # Feature: autoreconf # Usage: USES=autoreconf or USES=autoreconf:args # Valid args: build Don't run autoreconf, only add build dependencies # 2.69 Use this legacy version # # Port maintainers can set the following variable: # # AUTORECONF_ARGS The string to pass to autoreconf in addition to # the default "-f -i" # # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_AUTORECONF_MK) _INCLUDE_USES_AUTORECONF_MK= yes _USES_POST+= autoreconf AUTORECONF?= ${LOCALBASE}/bin/autoreconf${_AUTORECONF} AUTORECONF_WRKSRC?= ${WRKSRC} .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK) _INCLUDE_USES_AUTORECONF_POST_MK= yes . if ${autoreconf_ARGS:M2.69} _AUTORECONF= 2.69 BUILD_DEPENDS+= autoconf2.69>=2.69:devel/autoconf2.69 . else -_AUTORECONF= 2.72 -BUILD_DEPENDS+= autoconf>=2.72_1:devel/autoconf +_AUTORECONF= 2.73 +BUILD_DEPENDS+= autoconf>=${_AUTORECONF}:devel/autoconf . endif BUILD_DEPENDS+= automake>=1.18.1:devel/automake . if defined(libtool_ARGS) && empty(libtool_ARGS:Mbuild) BUILD_DEPENDS+= libtoolize:devel/libtool . endif # In case autoconf-switch wrapper scripts are used during build. CONFIGURE_ENV+= DEFAULT_AUTOCONF=${_AUTORECONF} MAKE_ENV+= DEFAULT_AUTOCONF=${_AUTORECONF} WRK_ENV+= DEFAULT_AUTOCONF=${_AUTORECONF} . if ${autoreconf_ARGS:Nbuild:N2.69} IGNORE= incorrect 'USES+=autoreconf:${autoreconf_ARGS}'\ expecting 'USES+=autoreconf[:build,2.69]' . endif . if ! ${autoreconf_ARGS:Mbuild} _USES_configure+= 470:do-autoreconf do-autoreconf: . for f in AUTHORS ChangeLog INSTALL NEWS README # Don't modify time stamps if the files already exist @test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f} . endfor . if ${_AUTORECONF} == 2.69 @(cd ${AUTORECONF_WRKSRC} && \ if test -f configure.ac; then configure=configure.ac; \ else configure=configure.in; fi && \ if ${GREP} -q '^GTK_DOC_CHECK' $${configure}; \ then if ! ${LOCALBASE}/bin/gtkdocize --copy; then \ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running gtkdocize'; \ ${FALSE}; fi; fi && \ if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \ then if ! ${LOCALBASE}/bin/intltoolize -f -c; then \ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running intltoolize'; \ ${FALSE}; fi; fi) . endif @(cd ${AUTORECONF_WRKSRC} && if ! ${AUTORECONF} -f -i ${AUTORECONF_ARGS}; then \ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running ${AUTORECONF}'; \ ${FALSE}; fi) . endif .endif diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile index f32bc7b891f1..99252e211871 100644 --- a/cad/alliance/Makefile +++ b/cad/alliance/Makefile @@ -1,74 +1,75 @@ PORTNAME= alliance DISTVERSION= 5.1.1 PORTREVISION= 6 CATEGORIES= cad MAINTAINER= ports@FreeBSD.org COMMENT= Complete set of CAD tools and libraries for VLSI design WWW= http://coriolis.lip6.fr/ LICENSE= Alliance LICENSE_NAME= Alliance VLSI Cad System License LICENSE_FILE= ${WRKSRC}/LICENCE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to link: collect2: error: ld returned 1 exit status BUILD_DEPENDS= fig2dev:print/fig2dev USE_GITLAB= yes GL_SITE= https://gitlab.lip6.fr GL_ACCOUNT= vlsi-eda GL_TAGNAME= ebece102e15c110fc79f1da50524c68fd9523f0c USES= autoreconf:build gmake libtool magick:build motif tar:bz2 tex xorg +USE_CSTD= gnu11 USE_GCC= yes USE_TEX= dvipsk:build latex:build USE_XORG= ice sm x11 xext xt HAS_CONFIGURE= yes CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC} CONFIGURE_ARGS+=--mandir=${PREFIX}/share/man \ --prefix=${ALLIANCE_TOP} \ --enable-alc-shared \ --enable-shared USE_LDCONFIG= ${ALLIANCE_TOP}/lib MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip CFLAGS+= -fcommon \ -fpermissive CONFLICTS_INSTALL= ocp publib SUB_FILES= pkg-message WRKSRC_SUBDIR= alliance/src ALLIANCE_TOP= ${PREFIX}/alliance OPTIONS_DEFINE= DOCS EXAMPLES pre-configure: ${REINPLACE_CMD} -e '/include /d' \ ${WRKSRC}/xgra/src/XSB_parse.c # Recursive make commands should always use the variable MAKE, not the # explicit command name `make' (see the GNU make manual, section 5.7.1) ${REINPLACE_CMD} -e 's/; make/; $$(MAKE)/' \ ${WRKSRC}/documentation/Makefile.am \ ${WRKSRC}/documentation/alliance-examples/Makefile \ ${WRKSRC}/documentation/tutorials/Makefile.am ${RM} ${WRKSRC}/documentation/tutorials/Makefile.am.bak \ ${WRKSRC}/documentation/alliance-examples/Makefile.bak cd ${WRKSRC} && ./autostuff post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${ALLIANCE_TOP}/tutorials (cd ${WRKSRC}/documentation/tutorials && \ ${COPYTREE_SHARE} . ${STAGEDIR}${ALLIANCE_TOP}/tutorials) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${ALLIANCE_TOP}/examples (cd ${WRKSRC}/documentation/alliance-examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${ALLIANCE_TOP}/examples) .include diff --git a/databases/proxysql/Makefile b/databases/proxysql/Makefile index ece744a43237..773d7c3983db 100644 --- a/databases/proxysql/Makefile +++ b/databases/proxysql/Makefile @@ -1,86 +1,85 @@ PORTNAME= proxysql PORTVERSION= 3.0.6 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= databases MAINTAINER= zi@FreeBSD.org COMMENT= High performance, high availability, protocol-aware proxy for MySQL WWW= https://www.proxysql.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= aclocal:devel/automake \ - autoreconf:devel/autoconf \ - bash:shells/bash \ +BUILD_DEPENDS= bash:shells/bash \ cmake:devel/cmake-core \ ggrep:textproc/gnugrep \ libgcrypt>0:security/libgcrypt \ - libtoolize:devel/libtool \ libevent>0:devel/libevent \ gnutls>0:security/gnutls LIB_DEPENDS= libuuid.so:misc/libuuid RUN_DEPENDS= libgcrypt>0:security/libgcrypt \ gnutls>0:security/gnutls -USES= bison:build compiler:c++11-lang gmake libtool perl5 pkgconfig python:build ssl +USES= autoreconf:build bison:build compiler:c++11-lang gmake \ + libtool perl5 pkgconfig python:build ssl +USE_CSTD= gnu11 USE_PERL5= build USE_GCC= yes MAKE_ENV= GIT_VERSION_BASE="${PORTVERSION}" SOURCE_DATE_EPOCH="$$(date +%s)" USE_GITHUB= yes ALL_TARGET= build_deps default LDFLAGS+= -L${LOCALBASE}/lib BINARY_ALIAS= python3=${PYTHON_CMD} USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${PORTNAME} GH_ACCOUNT= sysown .include .if (${OSVERSION} < 1400000 && ${SSL_DEFAULT} == "base") IGNORE= requires OpenSSL 3.x or greater .endif post-patch: @${REINPLACE_CMD} -e 's,/etc/,${ETCDIR}/,g' ${WRKSRC}/lib/ProxySQL_GloVars.cpp @${REINPLACE_CMD} \ -e 's,/var/lib,/var/db,g' \ -e '7s/^/errorlog="\/var\/log\/proxysql\/proxysql-error.log"\n\n/g' \ -e '7s/^/pidfile="\/var\/run\/${PORTNAME}\/${PORTNAME}.pid"\n/g' \ ${WRKSRC}/src/proxysql.cfg @${REINPLACE_CMD} \ -e '/^GIT_VERSION_BASE := /d' \ -e 's,grep -P,g&,' \ -e '/ export C/d' \ -e 's,PROXYSQLCLICKHOUSE=1 ,,g' \ -e '/cd curl/s,$${MAKE},${GMAKE},' \ -e '/cd libmicrohttpd/s,$${MAKE},${GMAKE},' \ -e '/cd lz4/s,$${MAKE},${GMAKE},' \ -e '/cd libhttpserver.*MAKE/s,CC,MAKE=${GMAKE} CC,' \ -e '/cd libhttpserver/s,$${MAKE},${GMAKE},' \ -e '/get_result_from_pgconn/s,-p0,-p0 -l,' \ -e 's,without-readline,without-readline --without-icu,g' \ -e 's,--enable-fastopen=false ,--enable-fastopen=false --enable-shared=no ,g' \ ${WRKSRC}/Makefile ${WRKSRC}/deps/Makefile @${REINPLACE_CMD} -e 's,grep -oP,ggrep -oP,g' ${WRKSRC}/common_mk/*.mk @${REINPLACE_CMD} -e 's,ENABLE_EPOLL := -DENABLE_EPOLL,ENABLE_EPOLL :=,g' \ ${WRKSRC}/lib/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/proxysql ${STAGEDIR}${LOCALBASE}/sbin post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/db/${PORTNAME} \ ${STAGEDIR}/var/run/${PORTNAME} \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d \ ${STAGEDIR}/var/log/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/proxysql.conf-newsyslog \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/proxysql.conf.sample ${INSTALL_DATA} ${WRKSRC}/src/proxysql.cfg \ ${STAGEDIR}${ETCDIR}/proxysql.cfg.sample .include diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile index a4dee9fb60e3..e7fbe3f81154 100644 --- a/deskutils/growl-for-linux/Makefile +++ b/deskutils/growl-for-linux/Makefile @@ -1,50 +1,51 @@ PORTNAME= growl-for-linux PORTVERSION= 0.8.5 PORTREVISION= 11 CATEGORIES= deskutils MAINTAINER= nivit@FreeBSD.org COMMENT= Notification system compatible with Growl WWW= http://mattn.github.com/growl-for-linux/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" GH_ACCOUNT= mattn GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify LIBNOTIFY_RUN_DEPENDS= notify-osd>=0.9.29_3:deskutils/notify-osd OPTIONS_DEFAULT=LIBNOTIFY OPTIONS_DEFINE= LIBNOTIFY PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} USES= autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \ ssl +USE_CSTD= gnu11 USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf gtk20 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/display \ ${PREFIX}/lib/${PORTNAME}/subscribe post-patch: @${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \ ${WRKSRC}/Makefile.am post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a .include diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile index a19565396ebe..f19634f3b0ca 100644 --- a/devel/autoconf/Makefile +++ b/devel/autoconf/Makefile @@ -1,73 +1,72 @@ PORTNAME= autoconf -DISTVERSION= 2.72 -PORTREVISION= 1 +DISTVERSION= 2.73 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= tijl@FreeBSD.org COMMENT= Generate configure scripts and related files WWW= https://www.gnu.org/software/autoconf/ LICENSE= EXCEPTION GFDL GPLv2+ GPLv3+ LICENSE_COMB= multi LICENSE_NAME_EXCEPTION= AUTOCONF CONFIGURE SCRIPT EXCEPTION LICENSE_FILE_EXCEPTION= ${WRKSRC}/COPYING.EXCEPTION LICENSE_FILE_GFDL= ${WRKSRC}/doc/fdl.texi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYINGv3 LICENSE_PERMS_EXCEPTION=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= gm4:devel/m4 RUN_DEPENDS= autoconf-switch>=0:devel/autoconf-switch \ gm4:devel/m4 USES= perl5 tar:xz VERSION= ${DISTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-suffix=${VERSION} \ --without-lispdir CONFIGURE_ENV= AWK=${AWK} \ EMACS=no \ M4=${LOCALBASE}/bin/gm4 DATADIR= ${PREFIX}/share/autoconf${VERSION} NO_ARCH= yes PLIST_SUB= VERSION=${VERSION} OPTIONS_DEFINE= INFO OPTIONS_DEFAULT=INFO INFO_USES= makeinfo INFO_INFO= autoconf${VERSION} post-patch: @${REINPLACE_CMD} '/^pkgdatadir =/s/@PACKAGE@/&@VERSION@/' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E \ -e 's/[^-/]auto(conf|header|reconf|scan|update)/&${VERSION}/g' \ -e 's/ifnames/&${VERSION}/g' \ -e '/config\.(guess|sub)/d' \ ${WRKSRC}/man/*.1 post-patch-INFO-on: @${REINPLACE_CMD} -E 's/autoconf\.(info|texi)/autoconf${VERSION}.\1/g' \ ${WRKSRC}/Makefile.in @${CP} ${WRKSRC}/doc/autoconf.texi ${WRKSRC}/doc/autoconf${VERSION}.texi @${REINPLACE_CMD} \ -e 's/autoconf\.info/autoconf${VERSION}.info/' \ -e '/^@direntry/,/^@end/ { \ s/^\*[^-:]*/&${VERSION}/ ; \ s/(autoconf)/(autoconf${VERSION})/ ; \ s/ \{2,9\}/ / ; }' \ ${WRKSRC}/doc/autoconf${VERSION}.texi # Restore timestamp in .info file. @${TOUCH} -r ${WRKSRC}/doc/autoconf${VERSION}.texi.bak \ ${WRKSRC}/doc/autoconf${VERSION}.texi post-patch-INFO-off: @${REINPLACE_CMD} '/^INFO_DEPS =/d' ${WRKSRC}/Makefile.in .include diff --git a/devel/autoconf/distinfo b/devel/autoconf/distinfo index 360c958bc9bb..3eb33f051c38 100644 --- a/devel/autoconf/distinfo +++ b/devel/autoconf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709723659 -SHA256 (autoconf-2.72.tar.xz) = ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a -SIZE (autoconf-2.72.tar.xz) = 1389680 +TIMESTAMP = 1774091370 +SHA256 (autoconf-2.73.tar.xz) = 9fd672b1c8425fac2fa67fa0477b990987268b90ff36d5f016dae57be0d6b52e +SIZE (autoconf-2.73.tar.xz) = 1417428 diff --git a/devel/autoconf/files/patch-01-bin_autoreconf.in b/devel/autoconf/files/patch-01-bin_autoreconf.in deleted file mode 100644 index db203ab42277..000000000000 --- a/devel/autoconf/files/patch-01-bin_autoreconf.in +++ /dev/null @@ -1,159 +0,0 @@ -From e2a4935b45f273410e975ecf56ab26ad72855df0 Mon Sep 17 00:00:00 2001 -From: Bruno Haible -Date: Wed, 2 Jul 2025 02:43:41 +0200 -Subject: [PATCH 1/2] autoreconf: Invoke autopoint in more situations. - -Reported in . - -* bin/autoreconf.in (autoreconf_current_directory): Invoke autopoint also when -the package uses AM_GNU_GETTEXT (without AM_GNU_GETTEXT_VERSION), AM_PO_SUBDIRS, -AM_ICONV, AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS, AC_LIB_LINKFLAGS_FROM_LIBS, -or GUILE_FLAGS. ---- - bin/autoreconf.in | 80 ++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 76 insertions(+), 4 deletions(-) - -diff --git a/bin/autoreconf.in b/bin/autoreconf.in -index a5ffc6fa..207900df 100644 ---- bin/autoreconf.in -+++ bin/autoreconf.in -@@ -440,6 +440,8 @@ sub autoreconf_current_directory ($) - # ---------------------- # - - my $uses_autoconf; -+ my $uses_liblink; -+ my $uses_iconv; - my $uses_gettext; - if (-f $configure_ac) - { -@@ -449,8 +451,13 @@ sub autoreconf_current_directory ($) - s/#.*//; - s/dnl.*//; - $uses_autoconf = 1 if /AC_INIT/; -+ $uses_liblink = 1 if /AC_LIB_HAVE_LINKFLAGS/; -+ $uses_liblink = 1 if /AC_LIB_LINKFLAGS/; -+ $uses_liblink = 1 if /AC_LIB_LINKFLAGS_FROM_LIBS/; -+ $uses_iconv = 1 if /AM_ICONV/; - # See below for why we look for gettext here. -- $uses_gettext = 1 if /^AM_GNU_GETTEXT_(?:REQUIRE_)?VERSION/; -+ $uses_gettext = 1 if /AM_GNU_GETTEXT/; -+ $uses_gettext = 1 if /AM_PO_SUBDIRS/; - } - if (!$uses_autoconf) - { -@@ -485,7 +492,7 @@ sub autoreconf_current_directory ($) - # Actually, it is even more restrictive, as it greps for - # '^AM_GNU_GETTEXT_(REQUIRE_)?VERSION('. We did this above, while - # scanning configure.ac. -- if (!$uses_gettext) -+ if (!$uses_liblink && !$uses_iconv && !$uses_gettext) - { - verb "$configure_ac: not using Gettext"; - } -@@ -495,8 +502,21 @@ sub autoreconf_current_directory ($) - } - else - { -- xsystem_hint ("autopoint is needed because this package uses Gettext", -- $autopoint); -+ if ($uses_gettext) -+ { -+ xsystem_hint ("autopoint is needed because this package uses Gettext", -+ $autopoint); -+ } -+ elsif ($uses_iconv) -+ { -+ xsystem_hint ("autopoint is needed because this package uses AM_ICONV", -+ $autopoint); -+ } -+ elsif ($uses_liblink) -+ { -+ xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS", -+ $autopoint); -+ } - } - - -@@ -576,6 +596,8 @@ sub autoreconf_current_directory ($) - # from the final autoconf invocation. - my $aux_dir; - my @aux_files; -+ my $uses_liblink_via_traces; -+ my $uses_iconv_via_traces; - my $uses_gettext_via_traces; - my $uses_libtool; - my $uses_intltool; -@@ -603,6 +625,11 @@ sub autoreconf_current_directory ($) - 'AM_PROG_LIBTOOL', - 'LT_INIT', - 'LT_CONFIG_LTDL_DIR', -+ 'AC_LIB_LINKFLAGS', -+ 'AC_LIB_HAVE_LINKFLAGS', -+ 'AC_LIB_LINKFLAGS_FROM_LIBS', -+ 'GUILE_FLAGS', -+ 'AM_ICONV', - 'AM_GNU_GETTEXT', - 'AM_INIT_AUTOMAKE', - 'GTK_DOC_CHECK', -@@ -617,6 +644,15 @@ sub autoreconf_current_directory ($) - $aux_dir = $args[0] if $macro eq "AC_CONFIG_AUX_DIR"; - push @aux_files, $args[0] if $macro eq "AC_REQUIRE_AUX_FILE"; - $uses_autoconf = 1 if $macro eq "AC_INIT"; -+ # Here we need to explicitly test for GUILE_FLAGS, because in the -+ # typical situation where configure.ac invokes GUILE_FLAGS, -+ # guile.m4 defines GUILE_FLAGS and uses AC_LIB_LINKFLAGS_FROM_LIBS, -+ # the traces still for AC_LIB_LINKFLAGS_FROM_LIBS are empty. -+ $uses_liblink_via_traces = 1 if $macro eq "AC_LIB_LINKFLAGS" -+ || $macro eq "AC_LIB_HAVE_LINKFLAGS" -+ || $macro eq "AC_LIB_LINKFLAGS_FROM_LIBS" -+ || $macro eq "GUILE_FLAGS"; -+ $uses_iconv_via_traces = 1 if $macro eq "AM_ICONV"; - $uses_gettext_via_traces = 1 if $macro eq "AM_GNU_GETTEXT"; - $uses_libtool = 1 if $macro eq "AC_PROG_LIBTOOL" - || $macro eq "AM_PROG_LIBTOOL" -@@ -741,6 +777,42 @@ sub autoreconf_current_directory ($) - } - - -+ # --------------------------------------------- # -+ # Running autopoint, if not already run above. # -+ # --------------------------------------------- # -+ -+ if (!$uses_liblink_via_traces && !$uses_iconv_via_traces && !$uses_gettext_via_traces) -+ { -+ verb "$configure_ac: not needing autopoint"; -+ } -+ elsif (!$install) -+ { -+ verb "$configure_ac: not running autopoint: --install not given"; -+ } -+ elsif ($uses_liblink || $uses_iconv || $uses_gettext) -+ { -+ verb "$configure_ac: not running autopoint a second time"; -+ } -+ else -+ { -+ if ($uses_gettext_via_traces) -+ { -+ xsystem_hint ("autopoint is needed because this package uses Gettext", -+ $autopoint); -+ } -+ elsif ($uses_iconv_via_traces) -+ { -+ xsystem_hint ("autopoint is needed because this package uses AM_ICONV", -+ $autopoint); -+ } -+ elsif ($uses_liblink_via_traces) -+ { -+ xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS", -+ $autopoint); -+ } -+ } -+ -+ - # ------------------- # - # Rerunning aclocal. # - # ------------------- # --- -2.43.0 - diff --git a/devel/autoconf/files/patch-02-bin_autoreconf.in b/devel/autoconf/files/patch-02-bin_autoreconf.in deleted file mode 100644 index e5da001e84d6..000000000000 --- a/devel/autoconf/files/patch-02-bin_autoreconf.in +++ /dev/null @@ -1,102 +0,0 @@ -From d75171fdf8d03d2e070fcc3dbb5afb942dbd7828 Mon Sep 17 00:00:00 2001 -From: Bruno Haible -Date: Sat, 5 Jul 2025 17:20:11 +0200 -Subject: [PATCH] autoreconf: Adapt to the on-disk situation after autopoint - has run. - -Reported in . - -* bin/autoreconf.in (autoreconf_current_directory): After invoking autopoint, -rerun aclocal. When doing so, pass extra options "-I m4" if the configure.ac -does not specify a macro dir. ---- - bin/autoreconf.in | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -diff --git a/bin/autoreconf.in b/bin/autoreconf.in -index 3f6a74fe..eb0d96a9 100644 ---- bin/autoreconf.in -+++ bin/autoreconf.in -@@ -489,6 +489,7 @@ sub autoreconf_current_directory ($) - # Actually, it is even more restrictive, as it greps for - # '^AM_GNU_GETTEXT_(REQUIRE_)?VERSION('. We did this above, while - # scanning configure.ac. -+ my $invoked_autopoint; - if (!$uses_liblink && !$uses_iconv && !$uses_gettext) - { - verb "$configure_ac: not using Gettext"; -@@ -514,6 +515,7 @@ sub autoreconf_current_directory ($) - xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS", - $autopoint); - } -+ $invoked_autopoint = 1; - } - - -@@ -593,6 +595,7 @@ sub autoreconf_current_directory ($) - # from the final autoconf invocation. - my $aux_dir; - my @aux_files; -+ my @macro_dirs; - my $uses_liblink_via_traces; - my $uses_iconv_via_traces; - my $uses_gettext_via_traces; -@@ -616,6 +619,8 @@ sub autoreconf_current_directory ($) - 'AC_CONFIG_AUX_DIR', - 'AC_CONFIG_HEADERS', - 'AC_CONFIG_SUBDIRS', -+ 'AC_CONFIG_MACRO_DIR_TRACE', -+ 'AC_CONFIG_MACRO_DIR', - 'AC_INIT', - 'AC_REQUIRE_AUX_FILE', - 'AC_PROG_LIBTOOL', -@@ -640,6 +645,8 @@ sub autoreconf_current_directory ($) - my ($macro, @args) = split (/::/); - $aux_dir = $args[0] if $macro eq "AC_CONFIG_AUX_DIR"; - push @aux_files, $args[0] if $macro eq "AC_REQUIRE_AUX_FILE"; -+ push @macro_dirs, $args[0] if $macro eq "AC_CONFIG_MACRO_DIR_TRACE" -+ || $macro eq "AC_CONFIG_MACRO_DIR"; - $uses_autoconf = 1 if $macro eq "AC_INIT"; - # Here we need to explicitly test for GUILE_FLAGS, because in the - # typical situation where configure.ac invokes GUILE_FLAGS, -@@ -679,6 +686,15 @@ sub autoreconf_current_directory ($) - } - } - -+ # When configure.ac does not specify a macro dir, autopoint has -+ # created a directory named 'm4' and copied its *.m4 files into it. -+ # In this case, we need to rerun 'aclocal', in order to pass it the -+ # options "-I m4" this time. -+ if ($invoked_autopoint && !@macro_dirs) -+ { -+ $rerun_aclocal = 1; -+ } -+ - # Gettext consistency checks. - # Some projects intentionally don't call AM_GNU_GETTEXT_(REQUIRE_)VERSION - # because they have all of the gettext infrastructure checked into version -@@ -807,6 +823,8 @@ sub autoreconf_current_directory ($) - xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS", - $autopoint); - } -+ $invoked_autopoint = 1; -+ $rerun_aclocal = 1; - } - - -@@ -824,6 +842,12 @@ sub autoreconf_current_directory ($) - } - else - { -+ # When configure.ac does not specify a macro dir, autopoint has -+ # created a directory named 'm4' and copied its *.m4 files into it. -+ if ($invoked_autopoint && !@macro_dirs) -+ { -+ $aclocal_flags .= " -I m4"; -+ } - xsystem ("$aclocal $aclocal_flags"); - } - } --- -2.43.0 - diff --git a/devel/autoconf/files/patch-bin_autoreconf.in b/devel/autoconf/files/patch-bin_autoreconf.in index 6d94c0774c85..0f2d17044cd2 100644 --- a/devel/autoconf/files/patch-bin_autoreconf.in +++ b/devel/autoconf/files/patch-bin_autoreconf.in @@ -1,10 +1,10 @@ ---- bin/autoreconf.in.orig 2012-04-24 22:00:28 UTC +--- bin/autoreconf.in.orig 2026-03-18 13:15:05 UTC +++ bin/autoreconf.in -@@ -692,6 +692,7 @@ parse_args; +@@ -1184,6 +1184,7 @@ parse_args; - # Autoreconf all the given configure.ac. Unless `--no-recursive' is passed, + # Autoreconf all the given configure.ac. Unless '--no-recursive' is passed, # AC_CONFIG_SUBDIRS will be traversed in &autoreconf_current_directory. -+$ENV{'AUTOCONF'} = $autoconf; - $ENV{'AUTOM4TE'} = $autom4te; ++$ENV{'AUTOCONF'} = $C{autoconf}; + $ENV{'AUTOM4TE'} = $C{autom4te}; for my $directory (@ARGV) { diff --git a/devel/autoconf/pkg-plist b/devel/autoconf/pkg-plist index 984069562fbe..203bb52cb983 100644 --- a/devel/autoconf/pkg-plist +++ b/devel/autoconf/pkg-plist @@ -1,61 +1,62 @@ bin/autoconf%%VERSION%% bin/autoheader%%VERSION%% bin/autom4te%%VERSION%% bin/autoreconf%%VERSION%% bin/autoscan%%VERSION%% bin/autoupdate%%VERSION%% bin/ifnames%%VERSION%% -share/man/man1/autoconf%%VERSION%%.1.gz -share/man/man1/autoheader%%VERSION%%.1.gz -share/man/man1/autom4te%%VERSION%%.1.gz -share/man/man1/autoreconf%%VERSION%%.1.gz -share/man/man1/autoscan%%VERSION%%.1.gz -share/man/man1/autoupdate%%VERSION%%.1.gz -share/man/man1/ifnames%%VERSION%%.1.gz %%DATADIR%%/Autom4te/C4che.pm %%DATADIR%%/Autom4te/ChannelDefs.pm %%DATADIR%%/Autom4te/Channels.pm %%DATADIR%%/Autom4te/Config.pm %%DATADIR%%/Autom4te/Configure_ac.pm %%DATADIR%%/Autom4te/FileUtils.pm %%DATADIR%%/Autom4te/General.pm %%DATADIR%%/Autom4te/Getopt.pm %%DATADIR%%/Autom4te/Request.pm %%DATADIR%%/Autom4te/XFile.pm %%DATADIR%%/INSTALL +%%DATADIR%%/autoconf/a68.m4 %%DATADIR%%/autoconf/autoconf.m4 %%DATADIR%%/autoconf/autoconf.m4f %%DATADIR%%/autoconf/autoheader.m4 %%DATADIR%%/autoconf/autoscan.m4 %%DATADIR%%/autoconf/autotest.m4 %%DATADIR%%/autoconf/autoupdate.m4 %%DATADIR%%/autoconf/c.m4 %%DATADIR%%/autoconf/erlang.m4 %%DATADIR%%/autoconf/fortran.m4 %%DATADIR%%/autoconf/functions.m4 %%DATADIR%%/autoconf/general.m4 %%DATADIR%%/autoconf/go.m4 %%DATADIR%%/autoconf/headers.m4 %%DATADIR%%/autoconf/lang.m4 %%DATADIR%%/autoconf/libs.m4 %%DATADIR%%/autoconf/oldnames.m4 %%DATADIR%%/autoconf/programs.m4 %%DATADIR%%/autoconf/specific.m4 %%DATADIR%%/autoconf/status.m4 %%DATADIR%%/autoconf/trailer.m4 %%DATADIR%%/autoconf/types.m4 +%%DATADIR%%/autoconf_version.m4 %%DATADIR%%/autom4te.cfg %%DATADIR%%/autoscan/autoscan.list %%DATADIR%%/autotest/autotest.m4 %%DATADIR%%/autotest/autotest.m4f %%DATADIR%%/autotest/general.m4 %%DATADIR%%/autotest/specific.m4 %%DATADIR%%/build-aux/config.guess %%DATADIR%%/build-aux/config.sub %%DATADIR%%/build-aux/install-sh %%DATADIR%%/m4sugar/foreach.m4 %%DATADIR%%/m4sugar/m4sh.m4 %%DATADIR%%/m4sugar/m4sh.m4f %%DATADIR%%/m4sugar/m4sugar.m4 %%DATADIR%%/m4sugar/m4sugar.m4f -%%DATADIR%%/version.m4 +share/man/man1/autoconf%%VERSION%%.1.gz +share/man/man1/autoheader%%VERSION%%.1.gz +share/man/man1/autom4te%%VERSION%%.1.gz +share/man/man1/autoreconf%%VERSION%%.1.gz +share/man/man1/autoscan%%VERSION%%.1.gz +share/man/man1/autoupdate%%VERSION%%.1.gz +share/man/man1/ifnames%%VERSION%%.1.gz diff --git a/emulators/wine-proton/Makefile b/emulators/wine-proton/Makefile index 30e58d1a6aa7..20459de2c884 100644 --- a/emulators/wine-proton/Makefile +++ b/emulators/wine-proton/Makefile @@ -1,161 +1,162 @@ PORTNAME= wine-proton DISTVERSION= 9.0-3 PORTREVISION= 0 CATEGORIES= emulators MAINTAINER= iwtcex@gmail.com COMMENT= Wine with a bit of extra spice WWW= https://github.com/ValveSoftware/wine LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgnutls.so:security/gnutls \ libvulkan.so:graphics/vulkan-loader # amd_ags_x64.so LIB_DEPENDS+= libdrm.so:graphics/libdrm \ libdrm_amdgpu.so:graphics/libdrm # winewayland.so LIB_DEPENDS+= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxkbregistry.so:x11/libxkbcommon USES= autoreconf bison desktop-file-utils gl gmake gnome gstreamer llvm:${_LLVM_VERSION},build localbase perl5 pkgconfig python:build sdl shebangfix tar:xz xorg +USE_CSTD= gnu11 USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= ValveSoftware GH_PROJECT= wine GH_TAGNAME= 488fb296dda334a1e8555a9dd8f5cbe09be2afe5 USE_GL= gl USE_GNOME= glib20 USE_GSTREAMER= gl good mpeg2dec x264 # https://github.com/ValveSoftware/wine/commit/8cdd506d7e68c27cd564c317320bfc8d3a999eda USE_PERL5= build USE_SDL= sdl2 USE_XORG= x11 xext xcomposite xcursor xi xinerama xrandr xrender SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ tools/winedump/function_grep.pl GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/${PORTNAME} CONFIGURE_ARGS= --verbose \ --enable-archs=${ARCH:S|amd64|x86_64|} \ --with-mingw CROSSCC="clang" CROSSCFLAGS="-isystem ${FILESDIR}/clang" \ --libdir=${PREFIX}/${PORTNAME}/lib \ --disable-kerberos \ --disable-tests \ --with-fontconfig \ --with-freetype \ --with-gnutls \ --with-gstreamer \ --with-opengl \ --with-oss \ --with-pthread \ --with-sdl \ --with-vulkan \ --with-wayland \ --with-x \ --with-xinerama \ --with-xinput2 \ --with-xrandr \ --with-xrender \ --without-alsa \ --without-capi \ --without-coreaudio \ --without-cups \ --without-dbus \ --without-gettext \ --without-gettextpo \ --without-gphoto \ --without-gssapi \ --without-inotify \ --without-krb5 \ --without-netapi \ --without-opencl \ --without-osmesa \ --without-pcap \ --without-pcsclite \ --without-sane \ --without-udev \ --without-unwind \ --without-usb \ --without-v4l2 CONFIGURE_ENV= CPPBIN="false" CPPFLAGS="" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib" CFLAGS+= -D__NR_futex="-1" -Werror=implicit-function-declaration -Wno-int-conversion CFLAGS_i386+= -mpreferred-stack-boundary=4 -mstackrealign PIE_UNSAFE= yes BINARY_ALIAS+= clang=${LOCALBASE}/bin/clang${_LLVM_VERSION} \ lld-link=${LOCALBASE}/bin/lld-link${_LLVM_VERSION} OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_DESC= Build winepulse.drv PULSEAUDIO_BUILD_DEPENDS= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pulse PULSEAUDIO_CONFIGURE_OFF= --without-pulse .include .if ${LLVM_DEFAULT} == 11 _LLVM_VERSION= 15 .else _LLVM_VERSION= ${LLVM_DEFAULT} .endif .if ${ARCH} == amd64 PLIST_SUB+= WINE32="@comment " WINE64="" WINEARCH="x86_64" CONFIGURE_ARGS+=--enable-win64 .else PLIST_SUB+= WINE32="" WINE64="@comment " WINEARCH="i386" .endif post-patch: ${REINPLACE_CMD} 's/CFLAGS="$$llvm_extra_cflags $$llvm_cflags"/CFLAGS="$$CROSSCFLAGS $$llvm_extra_cflags $$llvm_cflags"/g' ${WRKSRC}/configure.ac pre-configure: cd ${WRKSRC} && ${PYTHON_CMD} dlls/winevulkan/make_vulkan --xml vk.xml cd ${WRKSRC} && ${PERL5} tools/make_specfiles pre-build: cd ${WRKSRC} && ${MAKE_CMD} depend cd ${WRKSRC} && ${PERL5} tools/make_requests post-install: .if ${ARCH} == i386 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver32 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine.bin -${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine .else ${INSTALL_SCRIPT} ${FILESDIR}/pkg32.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/pkg32.sh ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64 ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64 ${INSTALL_SCRIPT} ${FILESDIR}/wine-wow64.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine .endif ${RM} -r ${STAGEDIR}${PREFIX}/${PORTNAME}/include ${RM} -r ${STAGEDIR}${PREFIX}/share/man ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README.md ANNOUNCE.md AUTHORS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/yate/Makefile b/net/yate/Makefile index 376b6cd826be..34234dcf8a90 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -1,108 +1,109 @@ PORTNAME= yate DISTVERSION= 6.4.1 DISTVERSIONSUFFIX= -g${GH_TAGNAME} PORTREVISION= 1 CATEGORIES= net MAINTAINER= ports@FreeBSD.org COMMENT= Yet Another Telephony Engine WWW= http://yate.ro LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libasound.so:audio/alsa-lib \ libgsm.so:audio/gsm \ libspeex.so:audio/speex USES= autoreconf bison gmake shebangfix +USE_CSTD= gnu11 USE_GITHUB= yes GH_ACCOUNT= yatevoip GH_TAGNAME= e0a20c4 USE_GCC= yes USE_LDCONFIG= yes USE_RC_SUBR= yate SHEBANG_FILES= share/scripts/banbrutes.php \ share/scripts/leavemail.php \ share/scripts/queue_in.php \ share/scripts/queue_out.php \ share/scripts/route.php share/scripts/tts.sh \ share/scripts/voicemail.php GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-zlib=/usr \ --without-fdsize \ --without-libqt4 MAKE_JOBS_UNSAFE= yes CXXFLAGS+= -Wno-register DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} SUB_FILES= pkg-message USERS= yate GROUPS= yate PLIST_SUB= VERSION="${PORTVERSION}" OPTIONS_DEFINE= AMR DAHDI DOCS H323 ILBC MYSQL PGSQL SCTP SPANDSP \ SQLITE OPTIONS_DEFAULT= SCTP OPTIONS_SUB= yes DAHDI_DESC= Dahdi support H323_DESC= H323 software channel/protocol support ILBC_DESC= iLBC narrowband speech codec support SCTP_DESC= Stream Control Transmission Protocol support AMR_CONFIGURE_WITH= amrnb=${LOCALBASE} AMR_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr DAHDI_BUILD_DEPENDS= ${LOCALBASE}/include/dahdi/user.h:misc/dahdi \ libpri>=1.4.10:misc/libpri DAHDI_LIB_DEPENDS= libopenr2.so:misc/openr2 \ libpri.so:misc/libpri DAHDI_CONFIGURE_ENABLE= dahdi H323_LIB_DEPENDS= libopenh323.so:net/h323plus \ libpt.so:devel/ptlib H323_CONFIGURE_WITH= openh323=${LOCALBASE} ILBC_LIB_DEPENDS= libilbc.so:net/ilbc ILBC_CONFIGURE_ENABLE= ilbc MYSQL_USES= mysql ssl MYSQL_CONFIGURE_WITH= mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= libpq=${LOCALBASE} SCTP_CONFIGURE_ENABLE= sctp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp SPANDSP_CONFIGURE_WITH= spandsp SQLITE_USES= pkgconfig sqlite SQLITE_CONFIGURE_WITH= sqlite _USES_configure+= 471:post-autoreconf post-autoreconf: cd ${WRKSRC} && ./yate-config.sh post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yate @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libyate*.so.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/*.yate @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/radio/*.yate @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/sig/*.yate .for dir in client server jabber sip @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/${dir}/*.yate .endfor .include diff --git a/security/krb5-121/files/patch-configure.ac b/security/krb5-121/files/patch-configure.ac index abbae0e771b3..8f1c09f85087 100644 --- a/security/krb5-121/files/patch-configure.ac +++ b/security/krb5-121/files/patch-configure.ac @@ -1,17 +1,22 @@ ---- configure.ac.orig 2023-08-07 11:38:21.000000000 -0700 -+++ configure.ac 2023-08-09 14:49:19.833149000 -0700 -@@ -1356,8 +1356,12 @@ +--- configure.ac.orig 2024-06-26 20:00:35 UTC ++++ configure.ac +@@ -1,3 +1,4 @@ ++define(autoreconf2.73_looks_for, [AC_INIT]) + K5_AC_INIT([aclocal.m4]) + + # If $runstatedir isn't set by autoconf (<2.70), set it manually. +@@ -1357,8 +1358,12 @@ if test "x$with_libedit" != xno; then AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) AC_MSG_NOTICE([Using libedit for readline support]) elif test "x$with_libedit" = xyes; then - # We were explicitly asked for libedit and couldn't find it. - AC_MSG_ERROR([Could not detect libedit with pkg-config]) + AC_MSG_NOTICE([Using libedit in FreeBSD base]) + AC_CHECK_LIB([edit], [main], :, + AC_MSG_ERROR([Could not detect libedit])) + AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) + RL_CFLAGS=-DFreeBSD_BASE_EDITLINE + RL_LIBS='-ledit' else AC_MSG_NOTICE([Not using any readline support]) fi diff --git a/security/krb5-122/files/patch-configure.ac b/security/krb5-122/files/patch-configure.ac index c5348a6d82dd..2969a200bfcd 100644 --- a/security/krb5-122/files/patch-configure.ac +++ b/security/krb5-122/files/patch-configure.ac @@ -1,17 +1,22 @@ ---- configure.ac.orig 2025-08-05 14:15:15 UTC +--- configure.ac.orig 2025-08-20 19:44:32 UTC +++ configure.ac -@@ -1365,8 +1365,12 @@ if test "x$with_libedit" != xno; then +@@ -1,3 +1,4 @@ ++define(autoreconf2.73_looks_for, [AC_INIT]) + K5_AC_INIT([aclocal.m4]) + + # If $runstatedir isn't set by autoconf (<2.70), set it manually. +@@ -1365,8 +1366,12 @@ if test "x$with_libedit" != xno; then AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) AC_MSG_NOTICE([Using libedit for readline support]) elif test "x$with_libedit" = xyes; then - # We were explicitly asked for libedit and couldn't find it. - AC_MSG_ERROR([Could not detect libedit with pkg-config]) + AC_MSG_NOTICE([Using libedit in FreeBSD base]) + AC_CHECK_LIB([edit], [main], :, + AC_MSG_ERROR([Could not detect libedit])) + AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) + RL_CFLAGS=-DFreeBSD_BASE_EDITLINE + RL_LIBS='-ledit' else AC_MSG_NOTICE([Not using any readline support]) fi diff --git a/security/krb5-devel/files/patch-configure.ac b/security/krb5-devel/files/patch-configure.ac index abbae0e771b3..20dda6fb48a2 100644 --- a/security/krb5-devel/files/patch-configure.ac +++ b/security/krb5-devel/files/patch-configure.ac @@ -1,17 +1,22 @@ ---- configure.ac.orig 2023-08-07 11:38:21.000000000 -0700 -+++ configure.ac 2023-08-09 14:49:19.833149000 -0700 -@@ -1356,8 +1356,12 @@ +--- configure.ac.orig 2026-02-13 01:44:19 UTC ++++ configure.ac +@@ -1,3 +1,4 @@ ++define(autoreconf2.73_looks_for, [AC_INIT]) + K5_AC_INIT([aclocal.m4]) + + # If $runstatedir isn't set by autoconf (<2.70), set it manually. +@@ -1373,8 +1374,12 @@ if test "x$with_libedit" != xno; then AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) AC_MSG_NOTICE([Using libedit for readline support]) elif test "x$with_libedit" = xyes; then - # We were explicitly asked for libedit and couldn't find it. - AC_MSG_ERROR([Could not detect libedit with pkg-config]) + AC_MSG_NOTICE([Using libedit in FreeBSD base]) + AC_CHECK_LIB([edit], [main], :, + AC_MSG_ERROR([Could not detect libedit])) + AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) + RL_CFLAGS=-DFreeBSD_BASE_EDITLINE + RL_LIBS='-ledit' else AC_MSG_NOTICE([Not using any readline support]) fi diff --git a/sysutils/grub2-efi/Makefile b/sysutils/grub2-efi/Makefile index 3f15a3329f5c..8e47480ee764 100644 --- a/sysutils/grub2-efi/Makefile +++ b/sysutils/grub2-efi/Makefile @@ -1,50 +1,51 @@ PORTNAME= grub2-efi PORTVERSION= 2.02 PORTREVISION= 21 CATEGORIES= sysutils MASTER_SITES= LOCAL/kevlo DISTNAME= grub-${PORTVERSION}_7 MAINTAINER= ports@FreeBSD.org COMMENT= Multiboot EFI boot loader WWW= https://www.gnu.org/software/grub/ LICENSE= GPLv3+ RUN_DEPENDS= ${LOCALBASE}/bin/mformat:filesystems/mtools \ ${LOCALBASE}/bin/grub-mkrescue:sysutils/grub2-pcbsd BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ ${LOCALBASE}/bin/bash:shells/bash \ help2man:misc/help2man ONLY_FOR_ARCHS= amd64 USES= autoreconf:build bison cpe gettext gmake python tar:xz +USE_CSTD= gnu11 WRKSRC= ${WRKDIR}/grub-${PORTVERSION} INSTALL_WRKSRC= ${WRKSRC}/grub-core SSP_UNSAFE= yes USE_GCC= yes:build GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes CPE_PRODUCT= grub CPE_VENDOR= gnu CONFIGURE_ARGS= --with-platform=efi --disable-werror \ --localedir=${PREFIX}/share/locale CONFIGURE_ENV= CPP="${CC} -E" \ LEX=${LOCALBASE}/bin/flex post-patch: @${LN} -s ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf ${WRKSRC} @${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def pre-configure: @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/autogen.sh cd ${WRKSRC} && ./autogen.sh post-configure: @${LN} -sfh /usr/include/machine /usr/include/sys /usr/include/x86 \ ${WRKSRC}/grub-core .include diff --git a/sysutils/grub2-pcbsd/Makefile b/sysutils/grub2-pcbsd/Makefile index a5e71cf5371e..92915e867b43 100644 --- a/sysutils/grub2-pcbsd/Makefile +++ b/sysutils/grub2-pcbsd/Makefile @@ -1,95 +1,96 @@ PORTNAME= grub2-pcbsd PORTVERSION= 2.02q PORTREVISION= 19 CATEGORIES= sysutils MASTER_SITES= LOCAL/kevlo DISTNAME= grub-2.02_8 MAINTAINER= ports@FreeBSD.org COMMENT= Multiboot boot loader WWW= https://www.gnu.org/software/grub/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ ${LOCALBASE}/bin/bash:shells/bash \ help2man:misc/help2man ONLY_FOR_ARCHS= amd64 USES= autoreconf:build bison cpe gettext gmake makeinfo pkgconfig python tar:xz +USE_CSTD= gnu11 WRKSRC= ${WRKDIR}/grub-2.02 CONFLICTS= grub2-2* SSP_UNSAFE= yes USE_GCC= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INFO= grub grub-dev MAKE_JOBS_UNSAFE= yes CPE_PRODUCT= grub CPE_VENDOR= gnu CONFIGURE_ARGS= --disable-werror --localedir=${PREFIX}/share/locale CONFIGURE_ENV= CPP="${CC} -E" \ LEX=${LOCALBASE}/bin/flex SUB_FILES= 00_header 10_kfreebsd 10_ktrueos 30_os-prober 50_otherbe OPTIONS_DEFINE= MKFONT FUSE OPTIONS_DEFAULT=MKFONT OPTIONS_SUB= yes MKFONT_DESC= Build grub-mkfont (require freetype2) FUSE_DESC= Build grub-mount (require FUSE) BINARY_ALIAS= freetype-config=true .include .if ${ARCH} != "amd64" EFIEMU= "@comment " .endif PLIST_SUB+= EFIEMU=${EFIEMU} .if ${PORT_OPTIONS:MMKFONT} LIB_DEPENDS+= libfreetype.so:print/freetype2 BUILD_DEPENDS+= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont CONFIGURE_ARGS+= --enable-grub-mkfont .else CONFIGURE_ARGS+= --disable-grub-mkfont .endif .if ${PORT_OPTIONS:MFUSE} LIB_DEPENDS+= libfuse.so:filesystems/fusefs-libs CONFIGURE_ARGS+= --enable-grub-mount .else CONFIGURE_ARGS+= --disable-grub-mount .endif CFLAGS+= -fpermissive post-patch: @${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def pre-configure: @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/autogen.sh cd ${WRKSRC} && ./autogen.sh post-configure: @${LN} -sfh /usr/include/machine /usr/include/sys /usr/include/x86 ${WRKSRC}/grub-core post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/charset.alias ${INSTALL_SCRIPT} ${WRKDIR}/00_header ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/10_kfreebsd ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/10_ktrueos ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/30_os-prober ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/50_otherbe ${STAGEDIR}${PREFIX}/etc/grub.d/ ${MV} ${STAGEDIR}${PREFIX}/etc/grub.d/40_custom ${STAGEDIR}/${PREFIX}/etc/grub.d/40_custom.dist RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} .include