summaryrefslogtreecommitdiffstats
path: root/sysutils/xosview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xosview/Makefile')
-rw-r--r--sysutils/xosview/Makefile32
1 files changed, 25 insertions, 7 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile
index 0c627a3..6eb1903 100644
--- a/sysutils/xosview/Makefile
+++ b/sysutils/xosview/Makefile
@@ -12,17 +12,35 @@ CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= clsung@dragon2.net
COMMENT= A graphical performance meter
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= xosview.1
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's,iostream.h,iostream,' \
+ ${WRKSRC}/xwin.h \
+ ${WRKSRC}/Host.h \
+ ${WRKSRC}/Xrm.cc \
+ ${WRKSRC}/llist.cc \
+ ${WRKSRC}/timeval.h \
+ ${WRKSRC}/xosview.cc
+ @${REINPLACE_CMD} -e 's,string.h,string,' \
+ ${WRKSRC}/xwin.h \
+ ${WRKSRC}/Host.cc \
+ ${WRKSRC}/Xrm.cc \
+ ${WRKSRC}/llist.cc \
+ ${WRKSRC}/timeval.h \
+ ${WRKSRC}/xosview.cc
+ @${REINPLACE_CMD} -e 's,fstream.h,fstream,' \
+ ${WRKSRC}/bitfieldmeter.cc \
+ ${WRKSRC}/fieldmeter.cc \
+ ${WRKSRC}/fieldmeterdecay.cc \
+ ${WRKSRC}/fieldmetergraph.cc
+ @${REINPLACE_CMD} -e 's,-O4 -pipe,,' \
+ ${WRKSRC}/configure
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud