aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-12 10:25:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-12 10:25:28 +0000
commit6fe79145bf0391c4c48b5068045723f4a422a34a (patch)
tree9ddc7a29f0b03326f890adf85372601c18a44d72 /x11/xlockmore
parent9d496fd6f1199dde06786d2a4edf3677d04639a0 (diff)
downloadports-6fe79145bf0391c4c48b5068045723f4a422a34a.tar.gz
ports-6fe79145bf0391c4c48b5068045723f4a422a34a.zip
- Always check OPSYS along with OSVERSION
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=438347
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 1416db8e17e1..a12edf7612cd 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -159,7 +159,7 @@ pre-extract:
post-patch:
@${REINPLACE_CMD} -e '/xglockrc/ s|PROGRAM|DATA|' ${WRKSRC}/xglock/Makefile.in
-.if ${OSVERSION} > 1003500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1003500
@${REINPLACE_CMD} -e 's|/usr/games/fortune|/usr/bin/fortune|' ${WRKSRC}/modes/Makefile.in
.endif