Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2013 22:07:56 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325492 - head/net/boinc-client
Message-ID:  <201308272207.r7RM7uMB094389@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue Aug 27 22:07:56 2013
New Revision: 325492
URL: http://svnweb.freebsd.org/changeset/ports/325492

Log:
  - Move handling of X11 option down, so that the two handlers for the
    MANAGER optino can be merged [1]
  - Use new LIB_DEPENDS syntax
  
  PR:		ports/176724 [1] (part)
  Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>

Modified:
  head/net/boinc-client/Makefile

Modified: head/net/boinc-client/Makefile
==============================================================================
--- head/net/boinc-client/Makefile	Tue Aug 27 21:52:15 2013	(r325491)
+++ head/net/boinc-client/Makefile	Tue Aug 27 22:07:56 2013	(r325492)
@@ -60,24 +60,12 @@ BROKEN=		Does not install on ia64, power
 
 .if ${PORT_OPTIONS:MMANAGER}
 PORT_OPTIONS+=	CLIENT X11
-.endif
-
-.if ${PORT_OPTIONS:MX11}
-USE_GL=		glut
-USE_XORG+=	xmu xi
-LIB_DEPENDS+=	jpeg:${PORTSDIR}/graphics/jpeg
-PLIST_SUB+=	X11=""
-.else
-PLIST_SUB+=	X11="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMANAGER}
 USE_XORG+=	x11
 USE_WX=		2.8+
 USES+=		iconv
 WX_CONF_ARGS=	absolute
-LIB_DEPENDS+=	notify:${PORTSDIR}/devel/libnotify \
-		sqlite3:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS+=	libnotify.so:${PORTSDIR}/devel/libnotify \
+		libsqlite3.so:${PORTSDIR}/databases/sqlite3
 CONFIGURE_ARGS+=--with-sqlite3-prefix=${LOCALBASE}
 . if ${OSVERSION} < 900506 || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000002)
 CPPFLAGS+=	-DNO_PER_THREAD_LOCALE
@@ -92,7 +80,7 @@ SUB_LIST+=	OPTION_MANAGER=""
 
 .if ${PORT_OPTIONS:MCLIENT}
 USE_RC_SUBR=	boinc-client
-LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl
 RUN_DEPENDS+=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
 PLIST_SUB+=	BOINC_CLIENT=""
 SUB_LIST+=	OPTION_NO_GUI_RPC=${PORT_OPTIONS:MNO_GUI_RPC:S/^NO_GUI_RPC$/--no_gui_rpc/} \
@@ -132,6 +120,15 @@ SUB_LIST+=	OPTION_USER=""
 CONFIGURE_ARGS+=--enable-optimize
 .endif
 
+.if ${PORT_OPTIONS:MX11}
+USE_GL=		glut
+USE_XORG+=	xmu xi
+LIB_DEPENDS+=	libjpeg.so:${PORTSDIR}/graphics/jpeg
+PLIST_SUB+=	X11=""
+.else
+PLIST_SUB+=	X11="@comment "
+.endif
+
 PORT_OPTIONS:=	${PORT_OPTIONS:O:u}
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308272207.r7RM7uMB094389>