svn commit: r408172 - in head/net/boinc_curses: . files
John Marino
marino at FreeBSD.org
Fri Feb 5 12:15:38 UTC 2016
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:
+ - at rm boinc_curses
More information about the svn-ports-all
mailing list