summaryrefslogtreecommitdiff
path: root/x11-wm/olvwm
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2004-04-18 04:12:59 +0000
committerBrian Feldman <green@FreeBSD.org>2004-04-18 04:12:59 +0000
commit34c2d2d1f7fbd726f99271cf9016eee5f79f4893 (patch)
tree96cf9acb5207390953aea297b22a3a036f8672a6 /x11-wm/olvwm
parent92e25f44670b7ae0ba6cf748ea50ed440e015b60 (diff)
downloadfreebsd-ports-34c2d2d1f7fbd726f99271cf9016eee5f79f4893.zip
Unbreak olvwm for -CURRENT.
Submitted by: Serge Gagnon <gagnon_s@sympatico.ca> PR 64819
Diffstat (limited to 'x11-wm/olvwm')
-rw-r--r--x11-wm/olvwm/Makefile13
1 files 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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>