summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-18 10:55:03 +0000
committerjlam <jlam>2001-06-18 10:55:03 +0000
commit8360ba2a2ec1fe1a488c30c3402a3700c528633a (patch)
tree91b4250511ed9d294440140e0db1b22ac4cd796e /sysutils
parent97c454831c2862531998ac551de749e13905bfcb (diff)
downloadpkgsrc-8360ba2a2ec1fe1a488c30c3402a3700c528633a.tar.gz
Convert to use buildlink.mk files.
Diffstat (limited to 'sysutils')
-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: