Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138709 - media-video/vdr-1.4 ebuilds are broken when USING vanilla
Summary: media-video/vdr-1.4 ebuilds are broken when USING vanilla
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Matthias Schwarzott
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-01 07:05 UTC by Rudo Thomas
Modified: 2006-07-01 08:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rudo Thomas 2006-07-01 07:05:05 UTC
Hi,

all of the vdr-1.4* ebuilds are broken when "vanilla" is in the USE list:

The SRC_URI lists the gentoo patches conditionally, only when not using vanilla. However, src_unpack() tries to unpack the patches *unconditionally*, which fails, as the file is not fetched.

The solution is obvious: Surround the call to
  unpack ${PATCHSET_NAME}.tar.bz2
with something like
  if ! use vanilla; then
    unpack ${PATCHSET_NAME}.tar.bz2
  fi

Have a nice day.

Rudo.
Comment 1 Matthias Schwarzott gentoo-dev 2006-07-01 08:49:08 UTC
unpacking is now surrounded by check on use-flag vanilla.