Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2016 22:53:35 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428259 - in head/ports-mgmt/portal: . files
Message-ID:  <201612092253.uB9MrZrV011881@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612092253.uB9MrZrV011881>