pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/cmdpack Honor CFLAGS and LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd18fc3b8112
branches:  trunk
changeset: 365267:bd18fc3b8112
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 12:20:28 2017 +0000

description:
Honor CFLAGS and LDFLAGS.

diffstat:

 emulators/cmdpack/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 63a5a0927770 -r bd18fc3b8112 emulators/cmdpack/Makefile
--- a/emulators/cmdpack/Makefile        Wed Jul 12 12:17:02 2017 +0000
+++ b/emulators/cmdpack/Makefile        Wed Jul 12 12:20:28 2017 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2015/03/04 05:53:52 snj Exp $
-#
+# $NetBSD: Makefile,v 1.6 2017/07/12 12:20:28 wiz Exp $
 
 DISTNAME=      cmdpack-1.03-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -18,7 +17,7 @@
 do-build:
        cd ${WRKSRC}/src && \
        for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
-               ${CC} -o $$file $$file.c; \
+               ${CC} ${CFLAGS} ${LDFLAGS} -o $$file $$file.c; \
        done
        ${LN} ${WRKSRC}/src/ecm ${WRKSRC}/src/unecm
 



Home | Main Index | Thread Index | Old Index