Bug 131647 - audio/libsndfile: Problem to build libsndfile-1.0.18
Summary: audio/libsndfile: Problem to build libsndfile-1.0.18
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 16:10 UTC by Karsten Rothemund
Modified: 2009-03-10 12:20 UTC (History)
0 users

See Also:


Attachments
libsndfile-disable-octave (479 bytes, text/plain)
2009-02-21 23:22 UTC, me
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Rothemund 2009-02-13 16:10:01 UTC
Tried to update to the new version of libsndfile. I get the following output (2nd run without make clean):

cd /usr/ports/audio/libsndfile
make
..
Making all in Octave
mkoctfile -v -I../src -c  -o ./sndfile.o
mkoctfile -v -I../src ./ -L../src/.libs -L../src -lsndfile -o ./sndfile.oct
mkoctfile: unrecognized argument ./
*** Error code 1

Stop in /usr/ports/audio/libsndfile/work/libsndfile-1.0.18/Octave.
*** Error code 1

Stop in /usr/ports/audio/libsndfile/work/libsndfile-1.0.18.
*** Error code 1

Stop in /usr/ports/audio/libsndfile.
*** Error code 1

Stop in /usr/ports/audio/libsndfile.

Octave is installed in the newest version available in the ports (octave-3.0.3_3).

How-To-Repeat: nothing special, just tried to build the port
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-02-13 16:13:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Fix synopsis and assign.
Comment 2 me 2009-02-21 23:22:57 UTC
In my mail to freebsd-multimedia, I suggested to unbreak 
audio/libsndfile with math/octave present by disabling octave for 
libsndfile: 
http://lists.freebsd.org/pipermail/freebsd-multimedia/2009-February/009745.html

If we want octave support for libsndfile, it would have to be an OPTION 
anyhow not to have unpredictable dependencies. There might have to be a 
conditional pkg-plist. (I have not checked.) As long as that is not 
present, simply disabling octave seems sensible.

I attach the patch again to have it linked to the pr.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-03-10 12:13:18 UTC
ed          2009-03-10 12:11:47 UTC

  FreeBSD ports repository (src committer)

  Modified files:
    audio/libsndfile     Makefile 
  Log:
  Unbreak libsndfile build when octave is installed.
  
  If octave is installed on the system, libsndfile wants to build octave
  support, which only seems to cause compiler errors.
  
  If we really want octave support, we should add a proper switch to the
  port.
  
  PR:     ports/131647
  
  Revision  Changes    Path
  1.43      +2 -1      ports/audio/libsndfile/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Ed Schouten freebsd_committer freebsd_triage 2009-03-10 12:14:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!