diff --git a/sysutils/asmem/Makefile b/sysutils/asmem/Makefile index af7c5b54b37a..b71b195e3d35 100644 --- a/sysutils/asmem/Makefile +++ b/sysutils/asmem/Makefile @@ -16,17 +16,12 @@ COMMENT= An AfterStep look-n-feel memory utilization monitor USE_X_PREFIX= yes USE_XPM= yes GNU_CONFIGURE= yes + MAN1= asmem.1 PLIST_FILES= bin/asmem -.include - -.if ${OSVERSION} >= 600000 -BROKEN= "Does not compile on FreeBSD >= 6.x" -.endif - do-install: ${INSTALL_PROGRAM} -g kmem -m 2755 ${WRKSRC}/asmem ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/asmem.man ${PREFIX}/man/man1/asmem.1 + ${INSTALL_MAN} ${WRKSRC}/asmem.man ${MANPREFIX}/man/man1/asmem.1 -.include +.include diff --git a/sysutils/asmem/files/patch-read_mem.c b/sysutils/asmem/files/patch-read_mem.c new file mode 100644 index 000000000000..14dac69d7d15 --- /dev/null +++ b/sysutils/asmem/files/patch-read_mem.c @@ -0,0 +1,10 @@ +--- read_mem.c.dist Fri Sep 19 01:06:01 2003 ++++ read_mem.c Tue Nov 30 18:52:06 2004 +@@ -56,6 +56,7 @@ + // Machine dependent headers + // FreeBSD + #if defined(__FreeBSD__) ++#include + #include + #include + #include