Opened 14 years ago

Closed 14 years ago

#27568 closed enhancement (fixed)

gstreamer always prints warning about check

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gstreamer

Description

gstreamer prints this warning:

It is likely that this port will fail to build if the 'check'
port is active. If this port fails to build, deactive 'check'
by running:
port deactivate check
Reactivate 'check' after successfully installing gstreamer
by running:
port activate check
If you do not have 'check' installed, ignore this message.

This warning should not be printed if check is not installed. If check is installed, it should be printed, as an error that aborts the build attempt (since it won't succeed).

Change History (4)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Also, "deactivate" is misspelled "deactive".

comment:2 Changed 14 years ago by rmstonecipher@…

The typo was fixed in r74152.
How could one determine in a conditional statement within a portfile if "check" is installed?

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

It's simplest to check for the existence (inside ${prefix}) of a file that check installs. See for example how ImageMagick bails if cryptlib is installed (because the installation would fail).

comment:4 Changed 14 years ago by rmstonecipher@…

Resolution: fixed
Status: newclosed

Fixed in r74325.

Note: See TracTickets for help on using tickets.