Wed Jul 12 12:20:28 2017 UTC ()
Honor CFLAGS and LDFLAGS.


(wiz)
diff -r1.5 -r1.6 pkgsrc/emulators/cmdpack/Makefile

cvs diff -r1.5 -r1.6 pkgsrc/emulators/cmdpack/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/cmdpack/Makefile 2015/03/04 05:53:52 1.5
+++ pkgsrc/emulators/cmdpack/Makefile 2017/07/12 12:20:28 1.6
@@ -1,32 +1,31 @@ @@ -1,32 +1,31 @@
1# $NetBSD: Makefile,v 1.5 2015/03/04 05:53:52 snj Exp $ 1# $NetBSD: Makefile,v 1.6 2017/07/12 12:20:28 wiz Exp $
2# 
3 2
4DISTNAME= cmdpack-1.03-src 3DISTNAME= cmdpack-1.03-src
5PKGNAME= ${DISTNAME:S/-src//} 4PKGNAME= ${DISTNAME:S/-src//}
6PKGREVISION= 1 5PKGREVISION= 1
7CATEGORIES= emulators 6CATEGORIES= emulators
8MASTER_SITES= http://www.neillcorlett.com/downloads/ 7MASTER_SITES= http://www.neillcorlett.com/downloads/
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.neillcorlett.com/cmdpack/ 10HOMEPAGE= http://www.neillcorlett.com/cmdpack/
12COMMENT= Neill Corlett's command line tools for emulation 11COMMENT= Neill Corlett's command line tools for emulation
13LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
14USE_LANGUAGES= c99 13USE_LANGUAGES= c99
15 14
16INSTALLATION_DIRS= bin share/doc/cmdpack 15INSTALLATION_DIRS= bin share/doc/cmdpack
17 16
18do-build: 17do-build:
19 cd ${WRKSRC}/src && \ 18 cd ${WRKSRC}/src && \
20 for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \ 19 for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
21 ${CC} -o $$file $$file.c; \ 20 ${CC} ${CFLAGS} ${LDFLAGS} -o $$file $$file.c; \
22 done 21 done
23 ${LN} ${WRKSRC}/src/ecm ${WRKSRC}/src/unecm 22 ${LN} ${WRKSRC}/src/ecm ${WRKSRC}/src/unecm
24 23
25do-install: 24do-install:
26 cd ${WRKSRC}/src && \ 25 cd ${WRKSRC}/src && \
27 for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips unecm usfv vb2rip wordadd zerofill; do \ 26 for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips unecm usfv vb2rip wordadd zerofill; do \
28 ${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \ 27 ${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \
29 done 28 done
30 ${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack 29 ${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack
31 30
32.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"