[Bug 202404] [MAINTAINER] multimedia/mplayer2: updates to Makefile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 21:17:01 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202404

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
mplayer2 port inherited a lot of cruft from mplayer port. Try using |svn blame|
on the parent. For example, CODEC_* was removed in ports r393396 but != usage
predated bug 79823 thus the whole WIN32 conditional could be optimized into

  OPTIONS_DEFINE_i386+=   WIN32

  # Depend on RESTRICTED package when built manually
  .if !defined(PACKAGE_BUILDING)
  OPTIONS_DEFAULT_i386+=  WIN32
  .endif

  WIN32_DESC=             Win32 codec pack support
  WIN32_RUN_DEPENDS=      win32-codecs>0:${PORTSDIR}/multimedia/win32-codecs
  WIN32_CONFIGURE_ON=     --codecsdir=${LOCALBASE}/lib/win32
  WIN32_CONFIGURE_OFF=    --disable-win32dll --disable-qtx


X11 option can be optimized via ports r394573.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list