HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #353 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

scons .bep file fails to create a distro .zip file

Reported by: scottmc Owned by: mweirauch
Priority: normal Milestone:
Component: default Version:
Severity: normal Keywords:
Cc:

Description

When running haikuporter -d scons it fails to build a distro zip file.

Change History

comment:1 Changed 5 years ago by scottmc

  • Owner set to mweirauch

comment:2 Changed 5 years ago by mweirauch

  • Status changed from new to assigned

Ouch.

How's the process to work? Is there a DIST="" section available/respected in the .beps?

comment:3 Changed 5 years ago by augiedoggie

The environment variable DESTDIR is passed to the install section of the bep file.

You can see many examples in the repository. For example:

http://ports.haiku-files.org/browser/haikuports/trunk/dev-lang/lua/lua-5.1.4.bep

http://ports.haiku-files.org/browser/haikuports/trunk/dev-libs/openssl/openssl-1.0.0.bep

http://ports.haiku-files.org/browser/haikuports/trunk/dev-util/mercurial/mercurial-1.5.3.bep

http://ports.haiku-files.org/browser/haikuports/trunk/sys-libs/readline/readline-6.0.bep

Most autoconf/cmake based build systems automatically respect the DESTDIR variable. If the build system doesn't use DESTDIR then there is usually another flag or variable that they use for the same purpose.

comment:4 Changed 5 years ago by mweirauch

  • Resolution set to fixed
  • Status changed from assigned to closed

Thx for the answers. Commited. Looks ok here.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/