pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/autopano-sift-C



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 19 13:16:40 UTC 2025

Modified Files:
        pkgsrc/graphics/autopano-sift-C: Makefile

Log Message:
autopano-sift-C: fix build with cmake 4

Convert to cmake/build.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/graphics/autopano-sift-C/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/autopano-sift-C/Makefile
diff -u pkgsrc/graphics/autopano-sift-C/Makefile:1.35 pkgsrc/graphics/autopano-sift-C/Makefile:1.36
--- pkgsrc/graphics/autopano-sift-C/Makefile:1.35       Thu Apr 24 14:14:12 2025
+++ pkgsrc/graphics/autopano-sift-C/Makefile    Tue Aug 19 13:16:39 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2025/04/24 14:14:12 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2025/08/19 13:16:39 wiz Exp $
 
 DISTNAME=      autopano-sift-C-2.5.1
 PKGREVISION=   25
@@ -8,13 +8,13 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://hugin.sourceforge.net/
 COMMENT=       SIFT Feature Detection implementation
-
 LICENSE=       gnu-gpl-v2
 
-USE_CMAKE=             yes
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 LDFLAGS.DragonFly=     -lm
 LDFLAGS.SunOS=         -lm
 
@@ -22,6 +22,7 @@ LDFLAGS.SunOS=                -lm
 post-extract:
        rm ${WRKSRC}/CMakeModules/FindPNG.cmake
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/libpano13/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index