pkgsrc-WIP-changes archive

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

splix: take pkgsrc LDFLAGS into account



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Wed Sep 23 20:21:38 2026 +0200
Changeset:	9e096a375f39b0aa3eac6d4635468b3e593a0610

Modified Files:
	splix/distinfo
Added Files:
	splix/patches/patch-rules.mk

Log Message:
splix: take pkgsrc LDFLAGS into account

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e096a375f39b0aa3eac6d4635468b3e593a0610

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 splix/distinfo               |  1 +
 splix/patches/patch-rules.mk | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diffs:
diff --git a/splix/distinfo b/splix/distinfo
index 82287f0ae9..f76a9a6c56 100644
--- a/splix/distinfo
+++ b/splix/distinfo
@@ -4,4 +4,5 @@ RMD160 (splix-2.0.0.tar.bz2) = 7f194de23d465a3acbf5c0eec979b194f016a8b5
 SHA512 (splix-2.0.0.tar.bz2) = 2c460f10defab2480ce68edd80c9a170430f624262f55a9a6be4ac4f9ec5bdf326bc015370eec5cb98cc504477f2adf0ae9ade260126fd1a7e79cd423df54811
 Size (splix-2.0.0.tar.bz2) = 101197 bytes
 SHA1 (patch-aa) = 41567ad79d6f832498d135f393cbafd7de523313
+SHA1 (patch-rules.mk) = e935ec6191f0f9743258747e63df43e44319da87
 SHA1 (patch-src_ppdfile.cpp) = d873ed0cddee54def48100f8e9df978ca9d0c0fb
diff --git a/splix/patches/patch-rules.mk b/splix/patches/patch-rules.mk
new file mode 100644
index 0000000000..ccbbfe448c
--- /dev/null
+++ b/splix/patches/patch-rules.mk
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Take the usual pkgsrc LDFLAGS into account.
+
+--- rules.mk.orig	2026-09-23 18:19:45.433257025 +0000
++++ rules.mk
+@@ -7,12 +7,12 @@
+ $(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ)
+ 	$(call printCmd, $(cmd_link))
+ 	$(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
+-		$(rastertoqpdl_LIBS)
++		$(rastertoqpdl_LIBS) $(LDFLAGS)
+ 
+ $(pstoqpdl_TARGET): $(pstoqpdl_OBJ)
+ 	$(call printCmd, $(cmd_link))
+ 	$(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
+-		$(pstoqpdl_LIBS)
++		$(pstoqpdl_LIBS) $(LDFLAGS)
+ 
+ .PHONY: install installcms
+ cmd_install_raster	= INSTALL           $(rastertoqpdl_TARGET)


Home | Main Index | Thread Index | Old Index