svn commit: r521013 - head/ports-mgmt/dialog4ports/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 27 16:52:48 UTC 2019


Author: bapt
Date: Fri Dec 27 16:52:47 2019
New Revision: 521013
URL: https://svnweb.freebsd.org/changeset/ports/521013

Log:
  Fix build when libncursesw will be removed

Added:
  head/ports-mgmt/dialog4ports/files/
  head/ports-mgmt/dialog4ports/files/patch-Makefile   (contents, props changed)

Added: head/ports-mgmt/dialog4ports/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/dialog4ports/files/patch-Makefile	Fri Dec 27 16:52:47 2019	(r521013)
@@ -0,0 +1,16 @@
+--- Makefile.orig	2016-07-08 14:49:08 UTC
++++ Makefile
+@@ -5,7 +5,12 @@ RM?=		rm
+ MAN=		${PROG}.1.gz
+ PROG=		dialog4ports
+ CFLAGS+=	-Wall -pedantic
+-LDADD+=		-lncursesw -lm
++.if exists(/usr/lib/libncursesw.so)
++LDADD+=		-lncursesw
++.else
++LDADD+=		-lncurses
++.endif
++LDADD+=		-lm
+ PREFIX?=	/usr/local
+ BINDIR=		${PREFIX}/bin
+ MAN1DIR=	${PREFIX}/man/man1


More information about the svn-ports-all mailing list