svn commit: r428259 - in head/ports-mgmt/portal: . files
John Marino
marino at FreeBSD.org
Fri Dec 9 22:53:36 UTC 2016
Author: marino
Date: Fri Dec 9 22:53:34 2016
New Revision: 428259
URL: https://svnweb.freebsd.org/changeset/ports/428259
Log:
ports-mgmt/portal: Support ports ncurses and honor FLAGS
Approved by: general and ncurses blankets
Added:
head/ports-mgmt/portal/files/
head/ports-mgmt/portal/files/patch-Makefile (contents, props changed)
Modified:
head/ports-mgmt/portal/Makefile
Modified: head/ports-mgmt/portal/Makefile
==============================================================================
--- head/ports-mgmt/portal/Makefile Fri Dec 9 22:52:46 2016 (r428258)
+++ head/ports-mgmt/portal/Makefile Fri Dec 9 22:53:34 2016 (r428259)
@@ -19,6 +19,8 @@ USE_GITHUB= yes
GH_ACCOUNT= culot
USES= ncurses compiler:c++11-lib
+CFLAGS+= -I${NCURSESINC}
+LDFLAGS+= -L${NCURSESLIB}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
Added: head/ports-mgmt/portal/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/portal/files/patch-Makefile Fri Dec 9 22:53:34 2016 (r428259)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2016-12-03 18:56:16 UTC
++++ Makefile
+@@ -24,7 +24,7 @@ DEFS= -DVERSION=${VERSION}
+ all: ${PROG}
+
+ ${PROG}: ${OBJS}
+- ${CC} ${CXXFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
++ ${CC} ${CXXFLAGS} -o ${.TARGET} ${OBJS} ${LDFLAGS} ${LDADD}
+
+ .cc.o:
+ ${CC} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -c ${.IMPSRC}
More information about the svn-ports-head
mailing list