diff options
author | glewis <glewis@FreeBSD.org> | 2005-02-19 01:50:01 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-02-19 01:50:01 +0800 |
commit | 08242bd2ad607b23c7c7b06ff4136f57886e5d94 (patch) | |
tree | e992af47bee4222f1ba974578947a8c41052a893 /archivers/rpm4 | |
parent | e55b134c57053a1e7d0228c186c287b560a17cdb (diff) | |
download | freebsd-ports-gnome-08242bd2ad607b23c7c7b06ff4136f57886e5d94.tar.gz freebsd-ports-gnome-08242bd2ad607b23c7c7b06ff4136f57886e5d94.tar.zst freebsd-ports-gnome-08242bd2ad607b23c7c7b06ff4136f57886e5d94.zip |
. 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>
Diffstat (limited to 'archivers/rpm4')
-rw-r--r-- | archivers/rpm4/files/patch-macros.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/rpm4/files/patch-macros.in b/archivers/rpm4/files/patch-macros.in new file mode 100644 index 000000000000..12ed6de7e6ed --- /dev/null +++ b/archivers/rpm4/files/patch-macros.in @@ -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} |