mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 15:21:51 -04:00
net/boinc_curses: USES+= ncurses, respect LDFLAGS
This commit is contained in:
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
|
@ -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
|
||||
|
|
11
net/boinc_curses/files/patch-Makefile
Normal file
11
net/boinc_curses/files/patch-Makefile
Normal 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
|
Loading…
Add table
Reference in a new issue