1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

graphics/exiv2: Not jobs safe, so make it jobs safe

A dependency on a header was not listed in the vendor makefile, so it
is possible that exiv2 breaks on multi-job building.  This fixes at least
that specific problem.

PR:		197749
Submitted by:	marino
approved by:	maintainer timeout
This commit is contained in:
John Marino 2015-03-11 18:37:04 +00:00
parent 0059af81ea
commit 919bf169e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381027

View File

@ -1,5 +1,14 @@
--- src/Makefile.orig
--- src/Makefile.orig 2013-12-01 12:13:42 UTC
+++ src/Makefile
@@ -215,7 +215,7 @@ ifdef DEP_TRACKING
endif
# Be sure to rewrite exv_conf.h before compiling anything
-$(SRC): exv_conf.h
+$(SRC) $(EXIV2SRC): exv_conf.h
exv_conf.h: $(top_srcdir)/config/config.h
LC_ALL=C sed 's/#define \([A-Z]\)/#define EXV_\1/; s/#undef \([A-Z]\)/#undef EXV_\1/' < $< > $@
@@ -231,7 +231,7 @@ lib: $(OBJ)
$(EXIV2BIN): lib $(EXIV2OBJ) $(EXIV2COBJ)