aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xephyr
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-16 16:15:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-16 16:15:19 +0000
commitc9bf57300dafbfb2bd5b019c20fca77960fe0c6d (patch)
tree75c21562e06237b0c50b44ac6a71b0ac894bde7c /x11-servers/xephyr
parentaaf3970fbf77500981ff511a22bc73a9adb08334 (diff)
downloadports-c9bf57300dafbfb2bd5b019c20fca77960fe0c6d.tar.gz
ports-c9bf57300dafbfb2bd5b019c20fca77960fe0c6d.zip
Because this is a slave port, it cannot load bsd.port.pre.mk before defining
the do-install target. This means that the test for .if defined(WITH_NEW_XORG) will always be false unless it's actually set in make.conf. WITH_NEW_XORG is automatically set for OSVERSION > 100704, but the port can't access that. Apply a really inelegant kludge that simply tries to install the manpage from both possible places. One will fail, and one will succeed.
Notes
Notes: svn path=/head/; revision=365098
Diffstat (limited to 'x11-servers/xephyr')
-rw-r--r--x11-servers/xephyr/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-servers/xephyr/Makefile b/x11-servers/xephyr/Makefile
index 6b33cf0bb6d8..c5cc7d916ee9 100644
--- a/x11-servers/xephyr/Makefile
+++ b/x11-servers/xephyr/Makefile
@@ -23,10 +23,10 @@ PLIST_FILES= bin/Xephyr man/man1/Xephyr.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hw/kdrive/ephyr/Xephyr ${STAGEDIR}${PREFIX}/bin/
-.if defined(WITH_NEW_XORG)
- ${INSTALL_MAN} ${WRKSRC}/hw/kdrive/ephyr/man/Xephyr.1 ${STAGEDIR}${PREFIX}/man/man1/
-.else
- ${INSTALL_MAN} ${WRKSRC}/hw/kdrive/ephyr/Xephyr.1 ${STAGEDIR}${PREFIX}/man/man1/
-.endif
+#.if defined(WITH_NEW_XORG)
+ -${INSTALL_MAN} ${WRKSRC}/hw/kdrive/ephyr/man/Xephyr.1 ${STAGEDIR}${PREFIX}/man/man1/
+#.else
+ -${INSTALL_MAN} ${WRKSRC}/hw/kdrive/ephyr/Xephyr.1 ${STAGEDIR}${PREFIX}/man/man1/
+#.endif
.include "${MASTERDIR}/Makefile"