diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-11-04 11:02:02 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-11-04 11:02:02 +0000 |
commit | 5e8151f026a7eba966fed012140aee315d08df26 (patch) | |
tree | bbc7dd570e696ac0ea2ef3a7b1223665145321db /x11/xidle | |
parent | 2136c0b0a397e8f841ac07337ca23fbbb3c14d3e (diff) | |
download | ports-5e8151f026a7eba966fed012140aee315d08df26.tar.gz ports-5e8151f026a7eba966fed012140aee315d08df26.zip |
Notes
Diffstat (limited to 'x11/xidle')
-rw-r--r-- | x11/xidle/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/xidle/Makefile b/x11/xidle/Makefile index 2a336947991a..c3486cb5bc59 100644 --- a/x11/xidle/Makefile +++ b/x11/xidle/Makefile @@ -24,8 +24,17 @@ MAKE_ARGS+= X11LIBDIR="${X11BASE}/lib" \ PLIST_FILES= bin/xidle MAN1= xidle.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 502104 +USE_REINPLACE= yes + +post-extract: + @${REINPLACE_CMD} -e 's|getopt_long_only|getopt_long|' ${WRKSRC}/xidle.c +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xidle ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xidle.1 ${PREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |