diff options
| -rw-r--r-- | sysutils/xperfmon/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/xperfmon/Makefile b/sysutils/xperfmon/Makefile index 225911b50162..244c8f7ed204 100644 --- a/sysutils/xperfmon/Makefile +++ b/sysutils/xperfmon/Makefile @@ -20,6 +20,12 @@ USE_IMAKE= yes MAN1= xperfmon++.1 WRKSRC= ${WRKDIR}/xperfmon++ +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500000 +BROKEN= "5.X or newer systems should use xperfmon3" +.endif + pre-configure: if [ -e /usr/lib/libdevstat.a -o -e /usr/lib/aout/libdevstat.a ]; then \ cd ${WRKSRC} ; \ @@ -28,4 +34,4 @@ pre-configure: ${SED} -e "s:FreeBSDFLAGS=:FreeBSDFLAGS= -ldevstat:" Imakefile.i1 > Imakefile ; \ fi -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
