aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-07 17:38:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-07 17:38:32 +0000
commitc2cd853dd02cb285c4308019b808ffdbff16925c (patch)
tree36404740703413fe4f381d7a26a9c5587f1e3e79 /x11/xlockmore
parent39ab185c067b2fc44e832cd38d325a6c2d1a136f (diff)
downloadports-c2cd853dd02cb285c4308019b808ffdbff16925c.tar.gz
ports-c2cd853dd02cb285c4308019b808ffdbff16925c.zip
- Fix condition for fortune binary location
- While here, silence patching Reported by: jbeich Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=469303
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 56b6c855d99d..6812c54f9fb7 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xlockmore
PORTVERSION= 5.54
+PORTREVISION= 1
CATEGORIES?= x11
MASTER_SITES= http://www.sillycycle.com/xlock/ \
LOCAL/jgh/x11/${PORTNAME}/
@@ -159,11 +160,11 @@ pre-extract:
post-patch:
@${REINPLACE_CMD} -e '/xglockrc/ s|PROGRAM|DATA|' ${WRKSRC}/xglock/Makefile.in
-.if ${OPSYS} == FreeBSD
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
@${REINPLACE_CMD} -e 's|/usr/games/fortune|/usr/bin/fortune|' ${WRKSRC}/modes/Makefile.in
.endif
post-configure:
- ${REINPLACE_CMD} -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
+ @${REINPLACE_CMD} -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
.include <bsd.port.mk>