svn commit: r365098 - head/x11-servers/xephyr
Adam Weinberger
adamw at FreeBSD.org
Sat Aug 16 16:15:20 UTC 2014
Author: adamw
Date: Sat Aug 16 16:15:19 2014
New Revision: 365098
URL: http://svnweb.freebsd.org/changeset/ports/365098
QAT: https://qat.redports.org/buildarchive/r365098/
Log:
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.
Modified:
head/x11-servers/xephyr/Makefile
Modified: head/x11-servers/xephyr/Makefile
==============================================================================
--- head/x11-servers/xephyr/Makefile Sat Aug 16 16:13:22 2014 (r365097)
+++ head/x11-servers/xephyr/Makefile Sat Aug 16 16:15:19 2014 (r365098)
@@ -23,10 +23,10 @@ PLIST_FILES= bin/Xephyr man/man1/Xephyr.
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"
More information about the svn-ports-head
mailing list