pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/ltm



Module Name:    pkgsrc
Committed By:   jlam
Date:           Mon Aug 14 15:24:11 UTC 2017

Modified Files:
        pkgsrc/math/ltm: distinfo
Added Files:
        pkgsrc/math/ltm/patches: patch-makefile.include

Log Message:
math/ltm: Fix build caused by improper use of $(PREFIX).

The makefile.include fragment included by all of the project
makefiles unconditionally sets $(CC), $(LD), $(AR) and $(RANLIB)
to $(PREFIX){gcc,ld,ar,ranlib}.  Their intent was to provide a
facility for cross-compiling the code, but the use of $(PREFIX)
for this purpose was unfortunate.

This change adds a patch to set $(PREFIX) to the empty string in
the makefiles, which should fix the problem with the smallest
set of changes.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/ltm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/ltm/patches/patch-makefile.include

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

Modified files:

Index: pkgsrc/math/ltm/distinfo
diff -u pkgsrc/math/ltm/distinfo:1.7 pkgsrc/math/ltm/distinfo:1.8
--- pkgsrc/math/ltm/distinfo:1.7        Tue Oct  4 09:29:46 2016
+++ pkgsrc/math/ltm/distinfo    Mon Aug 14 15:24:11 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/10/04 09:29:46 wiz Exp $
+$NetBSD: distinfo,v 1.8 2017/08/14 15:24:11 jlam Exp $
 
 SHA1 (ltm-1.0.tar.xz) = 6293cf8bbc2051c6756f682ee3a4f50a0bdb7f80
 RMD160 (ltm-1.0.tar.xz) = c132d12690de64d532fa04e627bceb44cac40fb6
 SHA512 (ltm-1.0.tar.xz) = da2ced516106fb056373d97f9ac443805c57ebeb0a33982c14703d6dd8c3925e49aeb690b790ba91768ed5d41f5875dc50a3d3435dbb4088cfa3fddee9162082
 Size (ltm-1.0.tar.xz) = 2191540 bytes
+SHA1 (patch-makefile.include) = fb48375698cffe7c22d1a5044595a147b70dbaf9

Added files:

Index: pkgsrc/math/ltm/patches/patch-makefile.include
diff -u /dev/null pkgsrc/math/ltm/patches/patch-makefile.include:1.1
--- /dev/null   Mon Aug 14 15:24:11 2017
+++ pkgsrc/math/ltm/patches/patch-makefile.include      Mon Aug 14 15:24:11 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-makefile.include,v 1.1 2017/08/14 15:24:11 jlam Exp $
+
+--- makefile.include.orig      2016-02-03 13:07:27.000000000 -0500
++++ makefile.include   2017-08-12 17:08:23.000000000 -0400
+@@ -10,9 +10,7 @@
+ default: ${LIBNAME}
+ 
+ # Compiler and Linker Names
+-ifndef PREFIX
+-  PREFIX=
+-endif
++PREFIX=
+ 
+ ifeq ($(CC),cc)
+   CC = $(PREFIX)gcc



Home | Main Index | Thread Index | Old Index