pkgsrc-WIP-changes archive

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

cdirip: Honor LDFLAGS



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Sun Jul 15 10:01:57 2018 +0000
Changeset:	1b07f985ac9109a137f83908783bece11e9c02ed

Modified Files:
	cdirip/distinfo
Added Files:
	cdirip/patches/patch-Makefile

Log Message:
cdirip: Honor LDFLAGS

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

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

diffstat:
 cdirip/distinfo               |  1 +
 cdirip/patches/patch-Makefile | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diffs:
diff --git a/cdirip/distinfo b/cdirip/distinfo
index d25c6908af..21d7673fe8 100644
--- a/cdirip/distinfo
+++ b/cdirip/distinfo
@@ -4,3 +4,4 @@ SHA1 (cdirip-0.6.3.tar.gz) = 788d2fab1e07fed34096fce7d7648be3d1d9fb14
 RMD160 (cdirip-0.6.3.tar.gz) = f08afde4350d226f95595e59e060a2572dd29dca
 SHA512 (cdirip-0.6.3.tar.gz) = 950683625fd7aa32d88d2a872263e15c7e1d5c0e494d20997c115e830f35b9b9998ba4c37932bcc79bd76cff6010b23a64e472e535e731caa7efcd8a1391c7ff
 Size (cdirip-0.6.3.tar.gz) = 29995 bytes
+SHA1 (patch-Makefile) = 0de186ad9d0b75af9091baba6cefd66c6594e635
diff --git a/cdirip/patches/patch-Makefile b/cdirip/patches/patch-Makefile
new file mode 100644
index 0000000000..cb767212d4
--- /dev/null
+++ b/cdirip/patches/patch-Makefile
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Honor LDFLAGS
+
+--- Makefile.orig	2015-08-01 00:12:30.000000000 +0000
++++ Makefile
+@@ -24,7 +24,7 @@ CP = cp -f
+ 	${CC} -c ${CFLAGS} $<
+ 	
+ cdirip: ${OBJECTS}
+-	${CC} -o $@ ${OBJECTS} -lm
++	${CC} ${LDFLAGS} -o $@ ${OBJECTS} -lm
+ 	
+ all: cdirip
+ 
+@@ -35,4 +35,4 @@ mrproper: clean
+ 
+ install: all
+ 	${CP} ${OUTPUT} ${DESTDIR}/usr/bin                         # Line 25
+-	${CP} ${HEADERS} ${DESTDIR}/usr/include/cdirip                # Line 26
+\ No newline at end of file
++	${CP} ${HEADERS} ${DESTDIR}/usr/include/cdirip                # Line 26


Home | Main Index | Thread Index | Old Index