Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 12:15:36 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408172 - in head/net/boinc_curses: . files
Message-ID:  <201602051215.u15CFa2j095244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Feb  5 12:15:36 2016
New Revision: 408172
URL: https://svnweb.freebsd.org/changeset/ports/408172

Log:
  net/boinc_curses: USES+= ncurses, respect LDFLAGS

Added:
  head/net/boinc_curses/files/patch-Makefile   (contents, props changed)
Modified:
  head/net/boinc_curses/Makefile

Modified: head/net/boinc_curses/Makefile
==============================================================================
--- head/net/boinc_curses/Makefile	Fri Feb  5 12:04:52 2016	(r408171)
+++ head/net/boinc_curses/Makefile	Fri Feb  5 12:15:36 2016	(r408172)
@@ -12,7 +12,7 @@ COMMENT=	Console, ncurses based monitor 
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libboinc.a:${PORTSDIR}/net/boinc-client
 
-USES=	tar:bzip2
+USES=		ncurses tar:bzip2
 MAKE_ENV=	BOINCLIBDIR=${LOCALBASE}/lib BOINCINCDIR=${LOCALBASE}/include/boinc
 
 PLIST_FILES=	bin/boinc_curses

Added: head/net/boinc_curses/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/boinc_curses/files/patch-Makefile	Fri Feb  5 12:15:36 2016	(r408172)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2012-04-15 11:30:05 UTC
++++ Makefile
+@@ -7,7 +7,7 @@ BOINC_HOME?=	/var/db/boinc
+ all: boinc_curses
+ 
+ boinc_curses: boinc_curses.c
+-	${CXX} -o boinc_curses boinc_curses.c -lncurses ${BOINCLIBDIR}/libboinc.a -I${BOINCINCDIR} -DBOINC_HOME=\"${BOINC_HOME}\" -Wall ${CFLAGS}
++	${CXX} -o boinc_curses boinc_curses.c $(LDFLAGS) -lncurses ${BOINCLIBDIR}/libboinc.a -I${BOINCINCDIR} -DBOINC_HOME=\"${BOINC_HOME}\" -Wall ${CFLAGS}
+ 
+ clean:
+ 	-@rm boinc_curses



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