- Respect DESTDIR when checking old versions

PR:		ports/196538
Submitted by:	Jia-Shiun Li <jiashiun@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-01-08 19:05:28 +00:00
parent 83d66bf652
commit 9ccc139dff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376565

View file

@ -0,0 +1,13 @@
--- src/quvi-0.9/quvi/Makefile.in.orig 2015-01-06 23:20:41.370951000 +0800
+++ src/quvi-0.9/quvi/Makefile.in 2015-01-08 21:58:34.731380089 +0800
@@ -558,8 +558,8 @@
install-data-local:
- @if test -f $(libquvisubincludedir)/qfunc.h ; then \
- echo "** Old headers found in $(libquvisubincludedir). You should" ; \
+ @if test -f $(DESTDIR)$(libquvisubincludedir)/qfunc.h ; then \
+ echo "** Old headers found in $(DESTDIR)$(libquvisubincludedir). You should" ; \
echo "** remove the contents of this directory and type 'make " ; \
echo "** install' again." ; \
false ; \