aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/x86info
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-19 14:30:03 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-19 14:30:03 +0800
commit7cbd43eb3faa022fe5b7d665cec51a1f83c803cc (patch)
tree6dfbc2c9b6602b56fcd23329ab2c8f5b9169644c /sysutils/x86info
parentcd857af722fd31dc5fff17a2909131d365622eb4 (diff)
downloadfreebsd-ports-gnome-7cbd43eb3faa022fe5b7d665cec51a1f83c803cc.tar.gz
freebsd-ports-gnome-7cbd43eb3faa022fe5b7d665cec51a1f83c803cc.tar.zst
freebsd-ports-gnome-7cbd43eb3faa022fe5b7d665cec51a1f83c803cc.zip
fix build on current
Diffstat (limited to 'sysutils/x86info')
-rw-r--r--sysutils/x86info/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile
index 0b67f699e6ed..5c475f1a33ac 100644
--- a/sysutils/x86info/Makefile
+++ b/sysutils/x86info/Makefile
@@ -17,6 +17,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= i386
+USE_REINPLACE= yes
+
+post-patch:
+.for file in x86info.h mptable.c
+ @${REINPLACE_CMD} -e "s|machine/types.h|sys/types.h|g" ${WRKSRC}/${file}
+.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin