Date: Sat, 12 Sep 2015 11:14:00 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396740 - head/multimedia/mplayer Message-ID: <201509121114.t8CBE0h7002801@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sat Sep 12 11:13:59 2015 New Revision: 396740 URL: https://svnweb.freebsd.org/changeset/ports/396740 Log: Use option helpers for post-patch Modified: head/multimedia/mplayer/Makefile Modified: head/multimedia/mplayer/Makefile ============================================================================== --- head/multimedia/mplayer/Makefile Sat Sep 12 10:18:21 2015 (r396739) +++ head/multimedia/mplayer/Makefile Sat Sep 12 11:13:59 2015 (r396740) @@ -156,11 +156,9 @@ post-patch: 's|/usr/\\:local/\\:etc/\\:mplayer|${DATADIR:S/\//\/\\\:/g}|g ; \ s|/dev/\\:(dvd[[:alnum:]]*[[:>:]])|${DEFAULT_DVD_DEVICE:S/dev\//dev\/\\\:/}|g ; \ s|/dev/\\:(cdrom[[:alnum:]]*[[:>:]])|${DEFAULT_CDROM_DEVICE:S/dev\//dev\/\\\:/}|g' -.if ${PORT_OPTIONS:MRTC} - @${REINPLACE_CMD} -e \ - 's|irqp = 1024|irqp = ${DEFAULT_KERN_HZ}|' \ - ${WRKSRC}/mplayer.c -.endif + +post-patch-RTC-on: + @${REINPLACE_CMD} -e 's|irqp = 1024|irqp = ${DEFAULT_KERN_HZ}|' ${WRKSRC}/mplayer.c post-install: @${MKDIR} ${STAGEDIR}${DATADIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509121114.t8CBE0h7002801>