aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
commit6b129086dcee14496517fae085b448e3edc69bc7 (patch)
tree9490af12e8dfdddce4107ac3a4cefe6c56ba0614 /lib/ncurses
parentd98c8ac029f43d6d1b790246c01075b6eabf6a77 (diff)
downloadsrc-6b129086dcee14496517fae085b448e3edc69bc7.tar.gz
src-6b129086dcee14496517fae085b448e3edc69bc7.zip
Convert libraries to use LIBADD
While here reduce a bit overlinking
Notes
Notes: svn path=/head/; revision=275024
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/form/Makefile3
-rw-r--r--lib/ncurses/menu/Makefile3
-rw-r--r--lib/ncurses/panel/Makefile3
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index dd903b05c626..beefb2c4a7d2 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -54,8 +54,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
CFLAGS+= -I${NCURSES_DIR}/menu
-DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
-LDADD= -lncurses${LIB_SUFFIX}
+LIBADD+= ncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)
INCS= form.h
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index 3aac08170623..d3890de73e36 100644
--- a/lib/ncurses/menu/Makefile
+++ b/lib/ncurses/menu/Makefile
@@ -40,8 +40,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
-DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
-LDADD= -lncurses${LIB_SUFFIX}
+LIBADD+= ncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)
INCS= menu.h eti.h
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile
index 7929aed4d025..b075bcf056af 100644
--- a/lib/ncurses/panel/Makefile
+++ b/lib/ncurses/panel/Makefile
@@ -29,8 +29,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
-DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
-LDADD= -lncurses${LIB_SUFFIX}
+LIBADD+= ncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)
INCS= panel.h