pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/taglib
Module Name: pkgsrc
Committed By: tnn
Date: Wed Nov 2 22:39:29 UTC 2022
Modified Files:
pkgsrc/audio/taglib: Makefile
Log Message:
taglib: fix build breakage. Don't build tests unless asked to.
(test suite currently fails with run path errors)
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/audio/taglib/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/taglib/Makefile
diff -u pkgsrc/audio/taglib/Makefile:1.43 pkgsrc/audio/taglib/Makefile:1.44
--- pkgsrc/audio/taglib/Makefile:1.43 Sun Oct 30 11:15:06 2022
+++ pkgsrc/audio/taglib/Makefile Wed Nov 2 22:39:29 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2022/10/30 11:15:06 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2022/11/02 22:39:29 tnn Exp $
DISTNAME= taglib-1.13
CATEGORIES= audio
@@ -26,6 +26,16 @@ SUBST_STAGE.pc= pre-configure
SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g'
SUBST_MESSAGE.pc= Fixing rpath in taglib-config.
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
+TEST_TARGET= test
+CMAKE_ARGS+= -DBUILD_TESTING=ON
+.include "../../devel/cppunit/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DBUILD_TESTING=OFF
+.endif
+
.include "../../mk/compiler.mk"
#
# depends on builtin functions which enabled with i486 and later with GCC.
Home |
Main Index |
Thread Index |
Old Index