1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Update xsysinfo to use libdevstat for CAM.

Unfortunately, the maintainer is currently doing his compulsory military
service, so I'm committing this change without his OK.
This commit is contained in:
Gary Jennejohn 1998-09-30 19:24:49 +00:00
parent a09b649f1e
commit d2c4a6e3ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13561

View File

@ -3,7 +3,7 @@
# Date created: 4 April 1996
# Whom: jdli
#
# $Id: Makefile,v 1.5 1996/12/10 20:07:18 obrien Exp $
# $Id: Makefile,v 1.6 1997/01/08 01:22:22 asami Exp $
#
DISTNAME= xsysinfo-1.4
@ -16,4 +16,12 @@ USE_IMAKE= yes
MANCOMPRESSED= yes
MAN1= xsysinfo.1
pre-configure:
if [ -e /usr/lib/libdevstat.a ]; then \
cd ${WRKSRC} ; \
${MV} Imakefile Imakefile.in ; \
${SED} -e "s:DEFINES =:DEFINES = -DHAVE_DEVSTAT:" Imakefile.in > Imakefile.i1 ; \
${SED} -e "s:-lkvm:-lkvm -ldevstat:" Imakefile.i1 > Imakefile ; \
fi
.include <bsd.port.mk>