pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/jpeg



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May  7 09:13:54 UTC 2025

Modified Files:
        pkgsrc/graphics/jpeg: Makefile

Log Message:
jpeg: Add SUPERSEDES if this is the default jpeg implementation.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/graphics/jpeg/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/jpeg/Makefile
diff -u pkgsrc/graphics/jpeg/Makefile:1.59 pkgsrc/graphics/jpeg/Makefile:1.60
--- pkgsrc/graphics/jpeg/Makefile:1.59  Sat Aug  3 14:43:46 2024
+++ pkgsrc/graphics/jpeg/Makefile       Wed May  7 09:13:54 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.59 2024/08/03 14:43:46 pin Exp $
+# $NetBSD: Makefile,v 1.60 2025/05/07 09:13:54 jperkin Exp $
 
 DISTNAME=      jpegsrc.v9f
 PKGNAME=       ${DISTNAME:S/src.v/-/}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  http://www.ijg.org/files/
 
@@ -21,6 +22,14 @@ INSTALLATION_DIRS=   bin include share/doc
 
 PKGCONFIG_OVERRIDE=    libjpeg.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${JPEG_DEFAULT:U} == "jpeg"
+SUPERSEDES+=   libjpeg-turbo-[0-9]*
+.endif
+
+BUILD_DEFS+=           JPEG_DEFAULT
+
 TEST_TARGET=           test
 
 post-extract:



Home | Main Index | Thread Index | Old Index