Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19158 closed defect (fixed)

libsndfile 1.0.19_2 fails to compile

Reported by: max@… Owned by: lperry (Perry Lee)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: libsndfile gsed Cc:
Port: libsndfile

Description

The portfile for libsndfile misses a build dependency to gsed: mkoctfile -v -I../src -c sndfile.cc -o ../Octave/sndfile.o /opt/local/bin/mkoctfile: line 472: /opt/local/bin/gsed: No such file or directory make[1]: * [sndfile.o] Error 1

A patch is attached

Attachments (2)

libsndfile-Portfile.diff (692 bytes) - added by max@… 12 years ago.
Portfile (1.7 KB) - added by lperry (Perry Lee) 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by max@…

Attachment: libsndfile-Portfile.diff added

comment:1 Changed 12 years ago by max@…

The version string should of course be 1.0.19_1. I included my own revision bump in the ticket title, sry ;)

comment:2 Changed 12 years ago by lperry (Perry Lee)

Owner: changed from macports-tickets@… to perry@…

comment:3 Changed 12 years ago by lperry (Perry Lee)

Do you have the octave port installed?

I forgot to take this configure option (--enable-octave) into account.

Since octave is just a tad on the heavy side for a dependency ;), I've added --disable-octave to the default configure.args and added a variant for octave, making sure to include port:gsed as a build dependency. Can you try testing the attached Portfile with the octave variant specified? I don't actually have octave installed so it'd be a big help. Thanks.

Changed 12 years ago by lperry (Perry Lee)

Attachment: Portfile added

comment:4 Changed 12 years ago by max@…

Just tested it with +/-octave, both variants work fine, thx

comment:5 Changed 12 years ago by lperry (Perry Lee)

Resolution: fixed
Status: newclosed

Thanks for testing! Committed in r49103.

comment:6 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.