From 34c2d2d1f7fbd726f99271cf9016eee5f79f4893 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Sun, 18 Apr 2004 04:12:59 +0000 Subject: [PATCH] Unbreak olvwm for -CURRENT. Submitted by: Serge Gagnon PR 64819 --- x11-wm/olvwm/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/x11-wm/olvwm/Makefile b/x11-wm/olvwm/Makefile index ce2e0d7b0b3e..ca928c78dd8e 100644 --- a/x11-wm/olvwm/Makefile +++ b/x11-wm/olvwm/Makefile @@ -24,16 +24,17 @@ COMMENT= OpenLook Virtual Window manager LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview +USE_REINPLACE= yes +REINPLACE_ARGS= -i "" NO_WRKSUBDIR= yes USE_IMAKE= yes USE_XPM= yes MAN1= olvwm.1 olvwmrc.1 XFREE86_HTML_MAN= no -.include +pre-configure: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\ + s|^/\*\*/#*|XCOMM |' -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" -.endif - -.include +.include