diff options
author | riggs <riggs@FreeBSD.org> | 2015-09-12 19:13:59 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-09-12 19:13:59 +0800 |
commit | 9da097c6a9583abe71503e88ee0a934c8bfa1341 (patch) | |
tree | 70f90c41903beee83b9aeee7199b7010ea6d3059 /multimedia/mplayer | |
parent | e16ba544d36db4b4cd1c38d09d6467f72150498d (diff) | |
download | freebsd-ports-gnome-9da097c6a9583abe71503e88ee0a934c8bfa1341.tar.gz freebsd-ports-gnome-9da097c6a9583abe71503e88ee0a934c8bfa1341.tar.zst freebsd-ports-gnome-9da097c6a9583abe71503e88ee0a934c8bfa1341.zip |
Use option helpers for post-patch
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/Makefile | 8 |
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} |