pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/squeak-vm



On 12/18/2011 9:20 AM, OBATA Akio wrote:

Probably, PLIST mismatch on DragonFly came from patch-ab:

+PLUGIN_REQUIRE_LIBRARY (ASOUND ossaudio)

It force to require libossaudio, then it should be changed.
But I'm not a cmake expert, so I don't know how to do it.
something like following...

IF (DEFINED LIBOSSAUDIO)
  PLUGIN_FIND_LIBRARY(ASOUND ${LIBOSSAUDIO})
ELSE
  DISABLE_MODULE()
ENDIF (DEFINED LIBOSSAUDIO)
I don't think it matters, really.  CMake does a configuration check.
In this case, it looked for libossaudio and when it didn't find it
it printed on the log that the module would not be built.  This is
perfectly acceptable to me.

Thanks,
John



Home | Main Index | Thread Index | Old Index