pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Sun Nov  6 16:54:01 UTC 2022

Modified Files:
        pkgsrc/devel/SDL2: Makefile

Log Message:
SDL2: Fix building on FreeBSD

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


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/devel/SDL2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/SDL2/Makefile
diff -u pkgsrc/devel/SDL2/Makefile:1.69 pkgsrc/devel/SDL2/Makefile:1.70
--- pkgsrc/devel/SDL2/Makefile:1.69     Sat Oct 22 16:30:49 2022
+++ pkgsrc/devel/SDL2/Makefile  Sun Nov  6 16:54:01 2022
@@ -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 @@ CONFIGURE_ARGS+=      --disable-esd
 # 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