Index: cad/graywolf/Makefile =================================================================== --- cad/graywolf/Makefile +++ cad/graywolf/Makefile @@ -19,13 +19,11 @@ LICENSE= GPLv2 -BROKEN_aarch64= Fails to link: missing sbrk - LIB_DEPENDS= libgsl.so:math/gsl TEST_DEPENDS= bash:shells/bash \ rsync:net/rsync -USES= cmake compiler:c11 pkgconfig shebangfix xorg +USES= cmake compiler:c11 pkgconfig sbrk shebangfix xorg USE_XORG= ice sm x11 xext USE_LDCONFIG= yes Index: cad/spice/Makefile =================================================================== --- cad/spice/Makefile +++ cad/spice/Makefile @@ -20,9 +20,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - WRKSRC= ${WRKDIR}/${PORTNAME}3f5 MAKEFILE= ${FILESDIR}/Makefile CONFIGURE_ENV= CONFIGFILE="${CONFIGFILE}" \ @@ -38,6 +35,8 @@ process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \ rtlinv.cir schmitt.cir simplepz.cir +USES= sbrk + OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2 OPTIONS_DEFAULT=X11 Index: devel/llbuild/Makefile =================================================================== --- devel/llbuild/Makefile +++ devel/llbuild/Makefile @@ -12,12 +12,9 @@ LICENSE_COMB= multi LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt -BROKEN_aarch64= fails to link: undefined symbol: sbrk -BROKEN_riscv64= fails to link: undefined symbol: sbrk - LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -USES= cmake +USES= cmake sbrk USE_GITHUB= yes GH_ACCOUNT= apple Index: devel/smv/Makefile =================================================================== --- devel/smv/Makefile +++ devel/smv/Makefile @@ -9,10 +9,10 @@ COMMENT= Symbolic Model Verifier System for checking finite state systems WWW= https://www.cs.cmu.edu/~modelcheck/smv.html -BROKEN_aarch64= fails to build: undefined reference to sbrk BROKEN_armv6= fails to build: error: non-void function check_bdd should return a value BROKEN_armv7= fails to build: error: non-void function check_bdd should return a value +USES= sbrk USE_GCC= yes WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= ${PORTNAME} Index: editors/2bsd-vi/Makefile =================================================================== --- editors/2bsd-vi/Makefile +++ editors/2bsd-vi/Makefile @@ -13,10 +13,7 @@ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - -USES= ncurses tar:bzip2 +USES= ncurses sbrk tar:bzip2 PRESERVEDIR= /var/preserve/${PKGBASE} PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}" Index: graphics/opendx/Makefile =================================================================== --- graphics/opendx/Makefile +++ graphics/opendx/Makefile @@ -14,12 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_aarch64= fails to link: undefined symbol: sbrk - LIB_DEPENDS= libtiff.so:graphics/tiff \ libcdf.so:science/cdf -USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif xorg +USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif sbrk xorg USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 xt xinerama xext xpm xmu sm ice Index: lang/gnu-apl/Makefile =================================================================== --- lang/gnu-apl/Makefile +++ lang/gnu-apl/Makefile @@ -11,13 +11,10 @@ LICENSE= GPLv3+ -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - # XXX: should be optional, but no way to disable in the configure script LIB_DEPENDS= libfftw3.so:math/fftw3 -USES= compiler:c++11-lang gmake libtool localbase +USES= compiler:c++11-lang gmake libtool localbase sbrk GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= CXX_WERROR=no Index: lang/picoc/Makefile =================================================================== --- lang/picoc/Makefile +++ lang/picoc/Makefile @@ -9,14 +9,11 @@ LICENSE= BSD3CLAUSE -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - USE_GITLAB= yes GL_ACCOUNT= zsaleeba GL_TAGNAME= dc85a51e9211cfb644f0a85ea9546e15dc1141c3 -USES= cpe gmake readline +USES= cpe gmake readline sbrk CPE_VENDOR= ${PORTNAME}_project PLIST_FILES= bin/picoc Index: lang/smalltalk/Makefile =================================================================== --- lang/smalltalk/Makefile +++ lang/smalltalk/Makefile @@ -11,7 +11,6 @@ LICENSE= GPLv2+ BROKEN_powerpc64= Fails to build: gst-package: did not understand #~ -BROKEN_riscv64= Fails to link: undefined reference to sbrk BUILD_DEPENDS= zip:archivers/zip \ gawk:lang/gawk @@ -22,7 +21,7 @@ libltdl.so:devel/libltdl USES= gl gmake gnome iconv libtool makeinfo pathfix pkgconfig \ - readline shebangfix sqlite tar:xz xorg + readline sbrk shebangfix sqlite tar:xz xorg USE_GL= gl glu glut USE_GNOME= cairo USE_XORG= ice sm x11 xi Index: security/samhain/Makefile =================================================================== --- security/samhain/Makefile +++ security/samhain/Makefile @@ -11,12 +11,10 @@ LICENSE= GPLv2 -BROKEN_aarch64= fails to link: missing sbrk BROKEN_mips= fails to configure: error: Could not find the libwrap library BROKEN_mips64= fails to configure: error: Could not find the libwrap library -BROKEN_riscv64= fails to link: missing sbrk -USES= shebangfix +USES= sbrk shebangfix SHEBANG_FILES= scripts/samhainadmin-gpg.pl.in \ scripts/samhainadmin-sig.pl.in Index: shells/44bsd-csh/Makefile =================================================================== --- shells/44bsd-csh/Makefile +++ shells/44bsd-csh/Makefile @@ -7,12 +7,9 @@ MAINTAINER= cy@FreeBSD.org COMMENT= The traditional 4.4BSD /bin/csh C-shell -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - EXTRACT_DEPENDS= rcs:devel/rcs57 -USES= tar:bzip2 +USES= sbrk tar:bzip2 LDFLAGS= -Wl,--allow-multiple-definition NO_WRKSUBDIR= yes PORTDOCS= paper.ascii.gz Index: shells/ast-ksh/Makefile =================================================================== --- shells/ast-ksh/Makefile +++ shells/ast-ksh/Makefile @@ -20,12 +20,11 @@ LICENSE= EPL -BROKEN_aarch64= Fails to compile: needs sbrk BROKEN_riscv64= Fails to compile: ast-ksh93v/src/lib/libast/hash/hashalloc.c:162:4: non-const lvalue reference to type '__builtin_va_list' cannot bind to a temporary of type 'va_list' BROKEN_FreeBSD_14= Fails to compile: error: incompatible function pointer types assigning to 'int (*)(wchar_t *, const char *, size_t)' (aka 'int (*)(int *, const char *, unsigned long)') from 'size_t (wchar_t *, const char *, size_t)' (aka 'unsigned long (int *, const char *, unsigned long)') [-Wincompatible-function-pointer-types] BROKEN_FreeBSD_15= ${BROKEN_FreeBSD_14} -USES= compiler:c11 +USES= compiler:c11 sbrk USE_GITHUB= yes GH_ACCOUNT= att Index: shells/heirloom-sh/Makefile =================================================================== --- shells/heirloom-sh/Makefile +++ shells/heirloom-sh/Makefile @@ -10,10 +10,7 @@ LICENSE= CDDL -BROKEN_aarch64= fails to link: missing sbrk -BROKEN_riscv64= fails to link: missing sbrk - -USES= tar:bzip2 +USES= sbrk tar:bzip2 MAKEFILE= makefile MAKE_ARGS= ROOT=${STAGEDIR} \ Index: shells/v7sh/Makefile =================================================================== --- shells/v7sh/Makefile +++ shells/v7sh/Makefile @@ -15,10 +15,7 @@ COMMENT= Implementation of the UNIX 7th Edition shell WWW= http://minnie.tuhs.org/UnixTree/V7/ -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - -USES= uidfix +USES= sbrk uidfix EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} Index: sysutils/bacula13-client-static/Makefile =================================================================== --- sysutils/bacula13-client-static/Makefile +++ sysutils/bacula13-client-static/Makefile @@ -3,10 +3,10 @@ COMMENT= Network backup solution (static client) -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk BROKEN_SSL= libressl +USES= sbrk + WITH_CLIENT_ONLY= yes PLIST= ${.CURDIR}/pkg-plist MASTERDIR= ${.CURDIR}/../../sysutils/bacula13-server Index: sysutils/cdrkit/Makefile =================================================================== --- sysutils/cdrkit/Makefile +++ sysutils/cdrkit/Makefile @@ -14,7 +14,7 @@ RUN_DEPENDS?= ${PORTNAME}-genisoimage>0:sysutils/genisoimage -USES= cmake iconv perl5 shebangfix +USES= cmake iconv perl5 sbrk shebangfix USE_PERL5= run SHEBANG_FILES= 3rd-party/dirsplit/dirsplit # Fix build with clang11 Index: sysutils/genisoimage/Makefile =================================================================== --- sysutils/genisoimage/Makefile +++ sysutils/genisoimage/Makefile @@ -2,9 +2,6 @@ COMMENT= Standalone genisoimage from cdrkit -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - RUN_DEPENDS= # nada CONFLICTS= # nada