mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
. Change the default path to search for the source when building an RPM
to be ${LOCALBASE}/src/portbld, which is created by the port during installation. Don't use ${LOCALBASE}/src/redhat as the default as its not created by the port by default and is inappropriate for FreeBSD. Its quite likely ${LOCALBASE}/src/rpm is a better choice, but that requires more work than I have time for right now. Submitted by: Roman Neuhauser <neuhauser@chello.cz>
This commit is contained in:
parent
317d4d09d2
commit
3957ad95fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129193
2 changed files with 26 additions and 0 deletions
13
archivers/rpm4/files/patch-macros.in
Normal file
13
archivers/rpm4/files/patch-macros.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- macros.in.orig Tue Feb 15 16:35:27 2005
|
||||
+++ macros.in Tue Feb 15 16:36:14 2005
|
||||
@@ -163,7 +163,7 @@
|
||||
%_tmppath %{_var}/tmp
|
||||
|
||||
# Path to top of build area.
|
||||
-%_topdir %{_usrsrc}/redhat
|
||||
+%_topdir %{_usrsrc}/%{_vendor}
|
||||
|
||||
# The path to the unzip executable (legacy, use %{__unzip} instead).
|
||||
%_unzipbin %{__unzip}
|
13
archivers/rpm5/files/patch-macros.in
Normal file
13
archivers/rpm5/files/patch-macros.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- macros.in.orig Tue Feb 15 16:35:27 2005
|
||||
+++ macros.in Tue Feb 15 16:36:14 2005
|
||||
@@ -163,7 +163,7 @@
|
||||
%_tmppath %{_var}/tmp
|
||||
|
||||
# Path to top of build area.
|
||||
-%_topdir %{_usrsrc}/redhat
|
||||
+%_topdir %{_usrsrc}/%{_vendor}
|
||||
|
||||
# The path to the unzip executable (legacy, use %{__unzip} instead).
|
||||
%_unzipbin %{__unzip}
|
Loading…
Add table
Reference in a new issue