On Mon, Jan 07, 2019 at 08:50:55AM +0100, Antoine Jacoutot wrote:
> On Sun, Jan 06, 2019 at 10:13:15PM +0000, Stuart Henderson wrote:
> > On 2019/01/06 23:06, Antoine Jacoutot wrote:
> > > If we want to go in that direction, this patch is the way (with a bump 
> > > :-)).
> > 
> > bleh, that would 90-odd bumps :/
> 
> With portbump it's not that hard :-)

Could we do this for the time being?

Index: audio/ncmpc/Makefile
===================================================================
RCS file: /cvs/ports/audio/ncmpc/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- audio/ncmpc/Makefile        6 Jan 2019 20:15:51 -0000       1.41
+++ audio/ncmpc/Makefile        7 Jan 2019 08:02:07 -0000
@@ -6,7 +6,7 @@ VER=                    0.33
 DISTNAME=              ncmpc-${VER}
 EPOCH=                 0
 CATEGORIES=            audio
-REVISION=              0
+REVISION=              1
 
 HOMEPAGE=              https://www.musicpd.org/clients/ncmpc/
 
@@ -36,8 +36,15 @@ LIB_DEPENDS=         devel/gettext \
 CONFIGURE_ARGS=                -Dlirc=disabled \
                        -Dhtml_manual=false \
                        -Dlocale=enabled \
-                       -Dmouse=enabled \
-                       -Db_asneeded=false
+                       -Dmouse=enabled
+
+# disable meson's default of using "-Wl,--as-needed" on ld.bfd arches;
+# build failures due to undefined references are often seen.
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mlld}
+CONFIGURE_ARGS +=      -Db_asneeded=false
+.endif
+
 CONFIGURE_ENV=         CPP=${CPP} \
                        CPPFLAGS="-D_GNU_SOURCE \
                                  -D_DEFAULT_SOURCE \
Index: x11/gnome/gvfs/Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/gvfs/Makefile,v
retrieving revision 1.183
diff -u -p -r1.183 Makefile
--- x11/gnome/gvfs/Makefile     3 Jan 2019 13:36:23 -0000       1.183
+++ x11/gnome/gvfs/Makefile     7 Jan 2019 08:02:07 -0000
@@ -15,6 +15,12 @@ PKGNAME-goa=         ${GNOME_PROJECT}-goa-${GNO
 PKGNAME-nfs=           ${GNOME_PROJECT}-nfs-${GNOME_VERSION}
 PKGNAME-google=                ${GNOME_PROJECT}-google-${GNOME_VERSION}
 
+REVISION-main=         0
+REVISION-smb=          0
+REVISION-goa=          0
+REVISION-nfs=          0
+REVISION-google=       0
+
 # LGPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
@@ -77,6 +83,13 @@ CONFIGURE_ARGS +=    -Dafc=false \
                        -Dlogind=false \
                        -Dsystemduserunitdir=no \
                        -Dtmpfilesdir=no
+
+# disable meson's default of using "-Wl,--as-needed" on ld.bfd arches;
+# build failures due to undefined references are often seen.
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mlld}
+CONFIGURE_ARGS +=      -Db_asneeded=false
+.endif
                        
 # needs libcap
 CONFIGURE_ARGS +=      -Dadmin=false



-- 
Antoine

Reply via email to