summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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