diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-26 06:05:25 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-26 06:05:25 +0800 |
commit | a7bf280d2b5c1ea8814d99daf165d505033596f0 (patch) | |
tree | 1cde83cd67803d8d45b40a4e04f5aee6e62a212e | |
parent | f769c0c12e95f5ed8a02b04b47cc5481a9549a62 (diff) | |
download | freebsd-ports-gnome-a7bf280d2b5c1ea8814d99daf165d505033596f0.tar.gz freebsd-ports-gnome-a7bf280d2b5c1ea8814d99daf165d505033596f0.tar.zst freebsd-ports-gnome-a7bf280d2b5c1ea8814d99daf165d505033596f0.zip |
Fix packaging on FreeBSD 11 when WITH_NEW_XORG is defined by bsd.port.mk
-rw-r--r-- | x11-servers/xorg-vfbserver/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-servers/xorg-vfbserver/Makefile b/x11-servers/xorg-vfbserver/Makefile index 0f367c7c3c06..c702f680e638 100644 --- a/x11-servers/xorg-vfbserver/Makefile +++ b/x11-servers/xorg-vfbserver/Makefile @@ -24,10 +24,10 @@ PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hw/vfb/Xvfb ${STAGEDIR}${PREFIX}/bin/ -.if defined(WITH_NEW_XORG) - ${INSTALL_MAN} ${WRKSRC}/hw/vfb/man/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ -.else - ${INSTALL_MAN} ${WRKSRC}/hw/vfb/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ -.endif + if [ -f ${WRKSRC}/hw/vfb/man/Xvfb.1 ] ; then \ + ${INSTALL_MAN} ${WRKSRC}/hw/vfb/man/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ ; \ + else \ + ${INSTALL_MAN} ${WRKSRC}/hw/vfb/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ ; \ + fi .include "${MASTERDIR}/Makefile" |