pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: nia
Date: Sat Apr 20 07:35:25 UTC 2024
Modified Files:
pkgsrc/audio/SDL_sound: Makefile
pkgsrc/mk/defaults: options.description
Added Files:
pkgsrc/audio/SDL_sound: options.mk
Log Message:
SDL_sound: Allow building without physfs (only used in the CLI utility)
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/audio/SDL_sound/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/SDL_sound/options.mk
cvs rdiff -u -r1.722 -r1.723 pkgsrc/mk/defaults/options.description
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/SDL_sound/Makefile
diff -u pkgsrc/audio/SDL_sound/Makefile:1.33 pkgsrc/audio/SDL_sound/Makefile:1.34
--- pkgsrc/audio/SDL_sound/Makefile:1.33 Sun Sep 11 12:51:02 2022
+++ pkgsrc/audio/SDL_sound/Makefile Sat Apr 20 07:35:24 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2022/09/11 12:51:02 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2024/04/20 07:35:24 nia Exp $
#
DISTNAME= SDL_sound-1.0.3
@@ -14,11 +14,11 @@ LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
+.include "options.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libmikmod/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/physfs/buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mk/defaults/options.description
diff -u pkgsrc/mk/defaults/options.description:1.722 pkgsrc/mk/defaults/options.description:1.723
--- pkgsrc/mk/defaults/options.description:1.722 Mon Mar 25 00:55:02 2024
+++ pkgsrc/mk/defaults/options.description Sat Apr 20 07:35:24 2024
@@ -721,6 +721,7 @@ php-cgi Use PHP via CGI.
php-embed Enable PHP building of embedded SAPI.
php-fpm Use PHP via FastCGI Process Manager.
php-sockets Enable php-sockets support.
+physfs Use the PhysicsFS archive I/O abstraction for file access.
pic Enable compiling with -fPIC
pim Enable pim (personal information management) support.
pinepwd Enable $HOME/.pinepwd stored IMAP password file.
Added files:
Index: pkgsrc/audio/SDL_sound/options.mk
diff -u /dev/null pkgsrc/audio/SDL_sound/options.mk:1.1
--- /dev/null Sat Apr 20 07:35:25 2024
+++ pkgsrc/audio/SDL_sound/options.mk Sat Apr 20 07:35:24 2024
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2024/04/20 07:35:24 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.SDL_sound
+PKG_SUPPORTED_OPTIONS= physfs
+PKG_SUGGESTED_OPTIONS= physfs
+
+.include "../../mk/bsd.options.mk"
+
+# physfs is only used in the command-line utility.
+.if !empty(PKG_OPTIONS:Mphysfs)
+CONFIGURE_ARGS+= --enable-physfs
+. include "../../devel/physfs/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-physfs
+.endif
Home |
Main Index |
Thread Index |
Old Index