pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/SDL2 SDL2: Fix building on FreeBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c05e713ce73
branches:  trunk
changeset: 387765:5c05e713ce73
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sun Nov 06 16:54:01 2022 +0000

description:
SDL2: Fix building on FreeBSD

pkgsrc changes:
---------------
  * Add -lsub to LDFLAGS.
  * Bump revision.

diffstat:

 devel/SDL2/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r eb0ac657cfdb -r 5c05e713ce73 devel/SDL2/Makefile
--- a/devel/SDL2/Makefile       Sun Nov 06 16:42:42 2022 +0000
+++ b/devel/SDL2/Makefile       Sun Nov 06 16:54:01 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.69 2022/10/22 16:30:49 nia Exp $
+# $NetBSD: Makefile,v 1.70 2022/11/06 16:54:01 triaxx Exp $
 
 DISTNAME=      SDL2-2.24.1
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libsdl-org/}
 GITHUB_PROJECT=        SDL
@@ -33,6 +34,8 @@
 # SDL has native audio(4) support, avoid building ossaudio(4) support.
 CONFIGURE_ARGS.NetBSD+=        --disable-oss
 
+LDFLAGS.FreeBSD+=      -lusb
+
 PKGCONFIG_OVERRIDE+=   sdl2.pc.in
 
 CHECK_PORTABILITY_SKIP+=       build-scripts/androidbuildlibs.sh



Home | Main Index | Thread Index | Old Index