summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2022-11-06 16:54:01 +0000
committertriaxx <triaxx@pkgsrc.org>2022-11-06 16:54:01 +0000
commit3a0d5af7d7fd20fea8b8b93ebd30099eaaa95f0c (patch)
tree73aaf9e395400489b6284986be4aaab3a827de9f /devel
parent3e7bb44df51bea99419e65bd34ce2b9ad99f0837 (diff)
downloadpkgsrc-3a0d5af7d7fd20fea8b8b93ebd30099eaaa95f0c.tar.gz
SDL2: Fix building on FreeBSD
pkgsrc changes: --------------- * Add -lsub to LDFLAGS. * Bump revision.
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/SDL2/Makefile b/devel/SDL2/Makefile
index ebe30d4f7ba..ff49bda7ac6 100644
--- a/devel/SDL2/Makefile
+++ b/devel/SDL2/Makefile
@@ -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