pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/alsa-utils



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug  6 07:50:05 UTC 2022

Modified Files:
        pkgsrc/audio/alsa-utils: Makefile

Log Message:
alsa-utils: Adapt to new libepoll-shim world. While here, require
epoll-shim on all non-Linux systems with kqueue, and clean up the
Makefile a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/audio/alsa-utils/Makefile

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

Modified files:

Index: pkgsrc/audio/alsa-utils/Makefile
diff -u pkgsrc/audio/alsa-utils/Makefile:1.24 pkgsrc/audio/alsa-utils/Makefile:1.25
--- pkgsrc/audio/alsa-utils/Makefile:1.24       Mon Jan 24 10:09:30 2022
+++ pkgsrc/audio/alsa-utils/Makefile    Sat Aug  6 07:50:05 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2022/01/24 10:09:30 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2022/08/06 07:50:05 nia Exp $
 
 DISTNAME=      alsa-utils-1.2.6
 CATEGORIES=    audio
@@ -16,26 +16,27 @@ USE_PKGLOCALEDIR=   yes
 USE_NCURSES=           yes
 LDFLAGS.DragonFly=     -lm
 LDFLAGS.SunOS+=                -lm -lsocket -lnsl
-LDFLAGS.NetBSD+=       -lepoll-shim
-LDFLAGS.NetBSD+=       -linotify
 CPPFLAGS.NetBSD+=      -D__u32=uint32_t -D__u64=uint64_t
 CPPFLAGS.NetBSD+=      -Dbswap_16=bswap16 -Dbswap_32=bswap32
 CPPFLAGS.NetBSD+=      -Doff64_t=off_t
 CPPFLAGS.NetBSD+=      -Dlseek64=lseek
 
-CFLAGS+=               -g
-
 REPLACE_BASH+=         alsaconf/alsaconf.in
 REPLACE_BASH+=         alsa-info/alsa-info.sh
 REPLACE_BASH+=         bat/alsabat-test.sh
 
-BUILD_DEPENDS+=        xmlto-[0-9]*:../../textproc/xmlto
+TOOL_DEPENDS+=         xmlto-[0-9]*:../../textproc/xmlto
 
 CONFIGURE_ARGS+=       --disable-nls
 
 .include "../../audio/alsa-lib/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux" && defined(OPSYS_HAS_KQUEUE)
+CFLAGS+=       -I${BUILDLINK_DIR}/include/libepoll-shim
+LDFLAGS+=      -lepoll-shim -linotify
 .include "../../devel/libepoll-shim/buildlink3.mk"
 .include "../../devel/libinotify/buildlink3.mk"
+.endif
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index