summaryrefslogtreecommitdiff
path: root/sysutils/psmisc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-18 10:55:03 +0000
committerjlam <jlam@pkgsrc.org>2001-06-18 10:55:03 +0000
commite953150dc4768c48995ceb47f1b99a787ef6432c (patch)
tree91b4250511ed9d294440140e0db1b22ac4cd796e /sysutils/psmisc
parent12835f77f5730c79eb89c578fe24511dc17d10a5 (diff)
downloadpkgsrc-e953150dc4768c48995ceb47f1b99a787ef6432c.tar.gz
Convert to use buildlink.mk files.
Diffstat (limited to 'sysutils/psmisc')
-rw-r--r--sysutils/psmisc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysutils/psmisc/Makefile b/sysutils/psmisc/Makefile
index 1237249b8cb..e0092e5755a 100644
--- a/sysutils/psmisc/Makefile
+++ b/sysutils/psmisc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/11 06:34:51 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/18 10:55:03 jlam Exp $
DISTNAME= psmisc-20.1
CATEGORIES= sysutils
@@ -15,13 +15,7 @@ GNU_CONFIGURE= # defined
# Don't match tgetstr() to libncurses, but force fall-through to libtermcap.
CONFIGURE_ENV+= ac_lib_var_ncurses_tgetstr=no
-# killall uses getopt_long(), which only appeared since the NetBSD 1.5 release.
-.if !exists(/usr/include/getopt.h)
-DEPENDS+= libgetopt>=1.3:../../devel/libgetopt
-EVAL_PREFIX+= GETOPTDIR=libgetopt
-CPPFLAGS+= -I${GETOPTDIR}/include
-LDFLAGS+= -Wl,-R${GETOPTDIR} -L${GETOPTDIR} -lgetopt
-.endif
+.include "../../devel/libgetopt/buildlink.mk"
# "make install" doesn't install the link from killall -> pidof.
post-install: