diff options
-rw-r--r-- | sysutils/x86info/Makefile | 6 |
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 |