diff mbox

[1/1] feh: install in /usr

Message ID 1445540750-4312-1-git-send-email-james.knight@rockwellcollins.com
State Accepted
Commit 948e4837d32e7c708427864551090ee1935ea0ef
Headers show

Commit Message

James Knight Oct. 22, 2015, 7:05 p.m. UTC
By default, feh installs into /usr/local. Adjusting the prefix to point
to a system distribution path.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
 package/feh/feh.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Korsgaard Oct. 22, 2015, 9:42 p.m. UTC | #1
>>>>> "James" == James Knight <james.knight@rockwellcollins.com> writes:

 > By default, feh installs into /usr/local. Adjusting the prefix to point
 > to a system distribution path.

 > Signed-off-by: James Knight <james.knight@rockwellcollins.com>


> ---
 >  package/feh/feh.mk | 2 +-
 >  1 file changed, 1 insertion(+), 1 deletion(-)

 > diff --git a/package/feh/feh.mk b/package/feh/feh.mk
 > index 03435dc..7381e25 100644
 > --- a/package/feh/feh.mk
 > +++ b/package/feh/feh.mk
 > @@ -18,7 +18,7 @@ endef
 
 >  define FEH_INSTALL_TARGET_CMDS
 >  	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
 > -		DESTDIR=$(TARGET_DIR) -C $(@D) install
 > +		PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
 >  endef
 
 >  $(eval $(generic-package))
 > -- 
 > 1.9.5.msysgit.1

 > _______________________________________________
 > buildroot mailing list
 > buildroot@busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot
Thomas Petazzoni Oct. 23, 2015, 8:24 a.m. UTC | #2
Dear Peter Korsgaard,

Your e-mail below as a reply to James is empty. I guess you wanted to
say that you applied the patch, since it's visible at
http://git.buildroot.net/buildroot/commit/?id=948e4837d32e7c708427864551090ee1935ea0ef.

Best regards,

Thomas

On Thu, 22 Oct 2015 23:42:53 +0200, Peter Korsgaard wrote:
> >>>>> "James" == James Knight <james.knight@rockwellcollins.com> writes:
> 
>  > By default, feh installs into /usr/local. Adjusting the prefix to point
>  > to a system distribution path.
> 
>  > Signed-off-by: James Knight <james.knight@rockwellcollins.com>
> 
> 
> > ---
>  >  package/feh/feh.mk | 2 +-
>  >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>  > diff --git a/package/feh/feh.mk b/package/feh/feh.mk
>  > index 03435dc..7381e25 100644
>  > --- a/package/feh/feh.mk
>  > +++ b/package/feh/feh.mk
>  > @@ -18,7 +18,7 @@ endef
>  
>  >  define FEH_INSTALL_TARGET_CMDS
>  >  	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
>  > -		DESTDIR=$(TARGET_DIR) -C $(@D) install
>  > +		PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
>  >  endef
>  
>  >  $(eval $(generic-package))
>  > -- 
>  > 1.9.5.msysgit.1
> 
>  > _______________________________________________
>  > buildroot mailing list
>  > buildroot@busybox.net
>  > http://lists.busybox.net/mailman/listinfo/buildroot
> 
>
Peter Korsgaard Oct. 23, 2015, 8:27 a.m. UTC | #3
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Dear Peter Korsgaard,
 > Your e-mail below as a reply to James is empty. I guess you wanted to
 > say that you applied the patch, since it's visible at
 > http://git.buildroot.net/buildroot/commit/?id=948e4837d32e7c708427864551090ee1935ea0ef.

Indeed!
diff mbox

Patch

diff --git a/package/feh/feh.mk b/package/feh/feh.mk
index 03435dc..7381e25 100644
--- a/package/feh/feh.mk
+++ b/package/feh/feh.mk
@@ -18,7 +18,7 @@  endef
 
 define FEH_INSTALL_TARGET_CMDS
 	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
-		DESTDIR=$(TARGET_DIR) -C $(@D) install
+		PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
 endef
 
 $(eval $(generic-package))