public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/realpath/files: realpath-1.15-prefix.patch
@ 2010-06-15 11:39 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-06-15 11:39 UTC (permalink / raw
  To: gentoo-commits

jlec        10/06/15 11:39:10

  Added:                realpath-1.15-prefix.patch
  Log:
  QA, imported prefix changes
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-misc/realpath/files/realpath-1.15-prefix.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/realpath/files/realpath-1.15-prefix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/realpath/files/realpath-1.15-prefix.patch?rev=1.1&content-type=text/plain

Index: realpath-1.15-prefix.patch
===================================================================
* <grobian@gentoo.org>: /bin/sh is no good (on e.g. Solaris) same for perl

--- common.mk
+++ common.mk
@@ -8,16 +8,17 @@
 
 override PACKAGE  := realpath
 
-PATH            := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
+#PATH            := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
+SHELL           := @GENTOO_PORTAGE_EPREFIX@/bin/bash
 
 # build abstraction
-install_file    := install -p -o root -g root -m 644
-install_script  := install -p -o root -g root -m 755
-install_dir     := install -d -o root -g root -m 755
+install_file    := install -p -m 644
+install_script  := install -p -m 755
+install_dir     := install -d -m 755
 install_link    := ln -sf
 compress        := gzip -9f
 
-prefix          := /usr
+prefix          := @GENTOO_PORTAGE_EPREFIX@/usr
 etcdir          := /etc/$(PACKAGE)
 bindir          := $(prefix)/bin
 sbindir         := $(prefix)/sbin
@@ -33,11 +34,11 @@
 webcgidir	      := $(prefix)/lib/cgi-bin
 applicationsdir := $(prefix)/share/applications
 
-PERL            := /usr/bin/perl
+PERL            := @GENTOO_PORTAGE_EPREFIX@/usr/bin/perl
 CC              ?= gcc
 CFLAGS          += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
 LDFLAGS         +=
-LIBS            := 
+LIBS            += 
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
   CFLAGS += -O0






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-15 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 11:39 [gentoo-commits] gentoo-x86 commit in app-misc/realpath/files: realpath-1.15-prefix.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox