summaryrefslogtreecommitdiff
path: root/accessibility/yasr
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-24 06:05:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-24 06:05:53 +0000
commit48e3efc22cbc01b8083712799ca2e641e24402da (patch)
tree2550e9c808e2fb8f5e0f6eba5c15e5d3083344f7 /accessibility/yasr
parent- Switch to options helpers (diff)
Remove conditions around the EXTRA_PATCHES: always apply the patch
Notes
Notes: svn path=/head/; revision=395157
Diffstat (limited to 'accessibility/yasr')
-rw-r--r--accessibility/yasr/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile
index 214cec055d0c..bbcf1602fb1f 100644
--- a/accessibility/yasr/Makefile
+++ b/accessibility/yasr/Makefile
@@ -22,6 +22,7 @@ NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-yasr__main.c
PLIST_FILES= bin/yasr \
man/man1/yasr.1.gz \
@@ -30,12 +31,6 @@ PLIST_FILES= bin/yasr \
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
PLIST_DIRS= %%DATADIR%%
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 900007
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-yasr__main.c
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf