1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/sysutils/xsysinfo/Makefile
Simon Barner 049ead3ccb - Use openfiles for (__FreeBSD_version >= 600000) ||
((__FreeBSD_version >= 503101) && (__FreeBSD_version < 503105))

  nfiles was renamed to openfiles, but the change was reverted in RELENG_5.

- Since this causes a runtime error, PORTREVISION was bumped.

Reported by:	Tony Maher <anthony.maher@uts.edu.au> [1]
		Ted Faber <faber@ISI.EDU> [2]
PR:		ports/84097 [1], ports/86128 [2]
Patch by:	Ted Faber <faber@ISI.EDU> [2] (partly)
Approved by:	maintainer timeout (7 weeks, for [1])
2005-09-16 08:47:38 +00:00

31 lines
725 B
Makefile

# New ports collection makefile for: xsysinfo
# Date created: 4 April 1996
# Whom: jdli
#
# $FreeBSD$
#
PORTNAME= xsysinfo
PORTVERSION= 1.4a
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/pub/jdli/source/
MAINTAINER= jdli@csie.nctu.edu.tw
COMMENT= A system information display tool
USE_IMAKE= yes
MANCOMPRESSED= yes
MAN1= xsysinfo.1
PLIST_FILES= bin/xsysinfo
pre-configure:
if [ -e /usr/lib/libdevstat.a -o -e /usr/lib/aout/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>