diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-05-07 17:38:32 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-05-07 17:38:32 +0000 |
commit | c2cd853dd02cb285c4308019b808ffdbff16925c (patch) | |
tree | 36404740703413fe4f381d7a26a9c5587f1e3e79 /x11/xlockmore | |
parent | - Update to 1.0.3 (diff) |
- 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/Makefile | 5 |
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> |