pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libjpeg-turbo
Module Name: pkgsrc
Committed By: jperkin
Date: Wed May 7 09:14:56 UTC 2025
Modified Files:
pkgsrc/graphics/libjpeg-turbo: Makefile
Log Message:
libjpeg-turbo: Add SUPERSEDES if this is the default jpeg implementation.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/graphics/libjpeg-turbo/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/libjpeg-turbo/Makefile
diff -u pkgsrc/graphics/libjpeg-turbo/Makefile:1.38 pkgsrc/graphics/libjpeg-turbo/Makefile:1.39
--- pkgsrc/graphics/libjpeg-turbo/Makefile:1.38 Tue Dec 24 15:39:44 2024
+++ pkgsrc/graphics/libjpeg-turbo/Makefile Wed May 7 09:14:56 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.38 2024/12/24 15:39:44 adam Exp $
+# $NetBSD: Makefile,v 1.39 2025/05/07 09:14:56 jperkin Exp $
DISTNAME= libjpeg-turbo-3.1.0
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=libjpeg-turbo/}
@@ -21,6 +22,14 @@ TOOL_DEPENDS+= nasm-[0-9]*:../../devel/n
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE= release/libturbojpeg.pc.in release/libjpeg.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${JPEG_DEFAULT:U} == "libjpeg-turbo"
+SUPERSEDES+= jpeg-[0-9]*
+.endif
+
+BUILD_DEFS+= JPEG_DEFAULT
+
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}
# For Darwin
TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}
Home |
Main Index |
Thread Index |
Old Index