summaryrefslogtreecommitdiff
path: root/devel/simavr/files/patch-simavr_Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
commita0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /devel/simavr/files/patch-simavr_Makefile
parentAllow more than one filename to be pathfixed. (diff)
Use USES=pathfix where applicable.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Diffstat (limited to 'devel/simavr/files/patch-simavr_Makefile')
-rw-r--r--devel/simavr/files/patch-simavr_Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/devel/simavr/files/patch-simavr_Makefile b/devel/simavr/files/patch-simavr_Makefile
index a6d8798981d4..ba4b03891a36 100644
--- a/devel/simavr/files/patch-simavr_Makefile
+++ b/devel/simavr/files/patch-simavr_Makefile
@@ -1,4 +1,4 @@
---- simavr/Makefile.orig 2016-01-19 09:41:55 UTC
+--- simavr/Makefile.orig 2016-10-03 12:42:39 UTC
+++ simavr/Makefile
@@ -73,12 +73,9 @@ ${OBJ}/libsimavr.so : ${OBJ}/libsimavr.
ln -sf libsimavr.so.1 $@
@@ -14,19 +14,11 @@
${target} : ${OBJ}/${target}.elf
-@@ -103,15 +100,13 @@ install : all
- $(INSTALL) -m644 sim/avr/*.h $(DESTDIR)/include/simavr/avr/
- $(MKDIR) $(DESTDIR)/lib
- $(INSTALL) ${OBJ}/libsimavr.a $(DESTDIR)/lib/
-- $(MKDIR) $(DESTDIR)/lib/pkgconfig/
-+ $(MKDIR) $(DESTDIR)/libdata/pkgconfig/
+@@ -108,10 +105,8 @@ install : all
+ simavr-avr.pc >$(DESTDIR)/libdata/pkgconfig/simavr-avr.pc
sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
-- simavr-avr.pc >$(DESTDIR)/lib/pkgconfig/simavr-avr.pc
-+ simavr-avr.pc >$(DESTDIR)/libdata/pkgconfig/simavr-avr.pc
- sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
-- simavr.pc >$(DESTDIR)/lib/pkgconfig/simavr.pc
+ simavr.pc >$(DESTDIR)/libdata/pkgconfig/simavr.pc
-ifeq (${shell uname}, Linux)
-+ simavr.pc >$(DESTDIR)/libdata/pkgconfig/simavr.pc
$(INSTALL) ${OBJ}/libsimavr.so.1 $(DESTDIR)/lib/
ln -sf libsimavr.so.1 $(DESTDIR)/lib/libsimavr.so
-endif