summaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-09-12 11:13:59 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-09-12 11:13:59 +0000
commit11538b86213e4ee766192973bd918048c8ab89b4 (patch)
tree70f90c41903beee83b9aeee7199b7010ea6d3059 /multimedia/mplayer
parent- Define LICENSE, place build-related MAKE_ARGS knob below USES/USE_* block (diff)
Use option helpers for post-patch
Notes
Notes: svn path=/head/; revision=396740
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 97f120aed6a8..58ca0408bdec 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -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}