head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.6 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.4 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2025.08.03.06.29.10; author vins; state Exp; branches; next ; commitid pZJzDcAewlA6xf5G; desc @@ 1.1 log @graphics/ximaging: update to 1.9 # pkgsrc changes Use a unified makefile, similarly to other packages from fastcode.org # upstream changes This is a maintenance release, improving usability, and fixing bugs. @ text @$NetBSD: patch-Makefile,v 1.1 2024/12/08 13:09:43 vins Exp $ Prefer pkgsrc Makefile. --- Makefile.orig 2024-12-08 10:46:59.443489899 +0000 +++ Makefile @@@@ -2,7 +2,10 @@@@ all: @@if [ -e src/Makefile ]; then \ $(MAKE) -C src $(MAKEFLAGS); \ else \ - if [ -e mf/Makefile.$$(uname) ]; then \ + if [ -e mf/Makefile.pkgsrc ]; then \ + ln -s ../mf/Makefile.pkgsrc src/Makefile && \ + $(MAKE) -C src $(MAKEFLAGS); \ + elif [ -e mf/Makefile.$$(uname) ]; then \ ln -s ../mf/Makefile.$$(uname) src/Makefile && \ $(MAKE) -C src $(MAKEFLAGS); \ else \ @