aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 12:15:36 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 12:15:36 +0000
commitf8a54117b4eada98d7d3d5782d2ad56d6ded6133 (patch)
treedb15b46d15f6801e1487ada4e964c3e169c2a253
parent7d57075364b5ad749909a4a433c24fce22b5220c (diff)
downloadports-f8a54117b4eada98d7d3d5782d2ad56d6ded6133.tar.gz
ports-f8a54117b4eada98d7d3d5782d2ad56d6ded6133.zip
Notes
-rw-r--r--net/boinc_curses/Makefile2
-rw-r--r--net/boinc_curses/files/patch-Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/boinc_curses/Makefile b/net/boinc_curses/Makefile
index a213bf38ccf7..dab6b667f098 100644
--- a/net/boinc_curses/Makefile
+++ b/net/boinc_curses/Makefile
@@ -12,7 +12,7 @@ COMMENT= Console, ncurses based monitor and manager for BOINC
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
diff --git a/net/boinc_curses/files/patch-Makefile b/net/boinc_curses/files/patch-Makefile
new file mode 100644
index 000000000000..5c8a3e453084
--- /dev/null
+++ b/net/boinc_curses/files/patch-Makefile
@@ -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