diff options
author | Sam James <sam@gentoo.org> | 2024-05-09 02:02:50 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-09 02:02:50 +0100 |
commit | 6113f4eacbd6cff47e4acc67f5b45b061022d9d2 (patch) | |
tree | a99c543ca78c9d35dab57b2de942cc9405c4bfdd /sci-electronics | |
parent | sci-electronics/irsim: Partially port to C99 (diff) | |
download | gentoo-6113f4eacbd6cff47e4acc67f5b45b061022d9d2.tar.gz gentoo-6113f4eacbd6cff47e4acc67f5b45b061022d9d2.tar.bz2 gentoo-6113f4eacbd6cff47e4acc67f5b45b061022d9d2.zip |
sci-electronics/irsim: add another Makefile patch for LDFLAGS
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/irsim/files/irsim-9.7.93-Makefile.patch | 15 | ||||
-rw-r--r-- | sci-electronics/irsim/irsim-9.7.93-r1.ebuild | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sci-electronics/irsim/files/irsim-9.7.93-Makefile.patch b/sci-electronics/irsim/files/irsim-9.7.93-Makefile.patch new file mode 100644 index 000000000000..3b0750efac5e --- /dev/null +++ b/sci-electronics/irsim/files/irsim-9.7.93-Makefile.patch @@ -0,0 +1,15 @@ +--- a/irsim/Makefile ++++ b/irsim/Makefile +@@ -38,10 +38,10 @@ $(DESTDIR)${BINDIR}/genspktbl: + ${CP} genspktbl $(DESTDIR)${BINDIR}/genspktbl + + gentbl: +- ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} gentbl.c -o $@ ${LIBS} ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${LDFLAGS} gentbl.c -o $@ ${LIBS} + + genspktbl: +- ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} genspktbl.c -o $@ ${LIBS} ++ ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${LDFLAGS} genspktbl.c -o $@ ${LIBS} + + install: $(DESTDIR)${BINDIR}/irsim $(DESTDIR)${BINDIR}/gentbl \ + $(DESTDIR)${BINDIR}/genspktbl diff --git a/sci-electronics/irsim/irsim-9.7.93-r1.ebuild b/sci-electronics/irsim/irsim-9.7.93-r1.ebuild index 55018f2c0ccd..66cf06435db1 100644 --- a/sci-electronics/irsim/irsim-9.7.93-r1.ebuild +++ b/sci-electronics/irsim/irsim-9.7.93-r1.ebuild @@ -23,6 +23,7 @@ PATCHES=( "${FILESDIR}"/${PN}-9.7.79-datadir.patch "${FILESDIR}"/${PN}-9.7.93-clean-makefile.patch "${FILESDIR}"/${PN}-9.7.93-C99-port.patch + "${FILESDIR}"/${PN}-9.7.93-Makefile.patch ) src_configure() { |