diff options
-rw-r--r-- | ports-mgmt/portal/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portal/files/patch-Makefile | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ports-mgmt/portal/Makefile b/ports-mgmt/portal/Makefile index 6d20dc9d661..07cb336c468 100644 --- a/ports-mgmt/portal/Makefile +++ b/ports-mgmt/portal/Makefile @@ -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 diff --git a/ports-mgmt/portal/files/patch-Makefile b/ports-mgmt/portal/files/patch-Makefile new file mode 100644 index 00000000000..cfe6972e7b2 --- /dev/null +++ b/ports-mgmt/portal/files/patch-Makefile @@ -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} |