net/boinc_curses: USES+= ncurses, respect LDFLAGS

This commit is contained in:
John Marino 2016-02-05 12:15:36 +00:00
parent 7d57075364
commit f8a54117b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408172
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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