summaryrefslogtreecommitdiff
path: root/net/synergy
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-09-22 18:22:18 +0000
committerminskim <minskim@pkgsrc.org>2007-09-22 18:22:18 +0000
commite954c1a16702ed37384d2d15399553ca8821fd9b (patch)
tree001e800813d44ca585628d01819fb83b62db06f4 /net/synergy
parent0355d632ec8629ff50103a205a41052acad8bd3c (diff)
downloadpkgsrc-e954c1a16702ed37384d2d15399553ca8821fd9b.tar.gz
Make this package build on Mac OS X without X11.
Bump PKGREVISION because of dependency changes.
Diffstat (limited to 'net/synergy')
-rw-r--r--net/synergy/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/synergy/Makefile b/net/synergy/Makefile
index 89a68331b3d..a6e4b10a182 100644
--- a/net/synergy/Makefile
+++ b/net/synergy/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2007/02/02 00:55:15 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2007/09/22 18:22:18 minskim Exp $
#
DISTNAME= synergy-1.3.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=synergy2/}
@@ -18,6 +18,14 @@ DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
DOCS= *.html *.css images/*.gif
+.if !exists(/System/Library/Frameworks/Carbon.framework)
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/images
cd ${WRKSRC}/doc; \
@@ -27,10 +35,5 @@ post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${EXAMPLESDIR}
-.include "../../x11/libXext/buildlink3.mk"
-.include "../../x11/libXinerama/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/libXtst/buildlink3.mk"
-.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"