From 7e9c815bec13ba35c8a96d72171221a4fc82a8ba Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 1 Feb 2016 20:08:28 +0000 Subject: astro/mymoon: USES+=ncurses, link with libncurses instead of libcurses --- astro/mymoon/Makefile | 2 +- astro/mymoon/files/patch-Makefile.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 astro/mymoon/files/patch-Makefile.in (limited to 'astro') diff --git a/astro/mymoon/Makefile b/astro/mymoon/Makefile index d1e5152698f8..5da18fe7a343 100644 --- a/astro/mymoon/Makefile +++ b/astro/mymoon/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libnova.so:${PORTSDIR}/astro/libnova WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes -USES= gmake +USES= gmake nurses CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/astro/mymoon/files/patch-Makefile.in b/astro/mymoon/files/patch-Makefile.in new file mode 100644 index 000000000000..e36a0e076273 --- /dev/null +++ b/astro/mymoon/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2003-05-23 20:09:56 UTC ++++ Makefile.in +@@ -61,7 +61,7 @@ POST_UNINSTALL = : + bin_PROGRAMS = mymoon + + mymoon_SOURCES = mymoon.c +-mymoon_LDFLAGS = -lnova -lcurses ++mymoon_LDFLAGS = -lnova -lncurses + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = + PROGRAMS = $(bin_PROGRAMS) -- cgit v1.2.3