aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-07-25 21:25:50 +0800
committeraraujo <araujo@FreeBSD.org>2008-07-25 21:25:50 +0800
commitf370e6bde00ec4b35cdc7ef52f9693e7190aa395 (patch)
tree2854dd9c766f3b09791df23c3547909a338837f3 /x11-toolkits
parente8c70b2dc7a8d703125b27708f760ad3cc142135 (diff)
downloadfreebsd-ports-graphics-f370e6bde00ec4b35cdc7ef52f9693e7190aa395.tar.gz
freebsd-ports-graphics-f370e6bde00ec4b35cdc7ef52f9693e7190aa395.tar.zst
freebsd-ports-graphics-f370e6bde00ec4b35cdc7ef52f9693e7190aa395.zip
- Fix build on FreeBSD 6.X.
- Bump PORTREVISION. Reported by: pointyhat via pav
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-fox12/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/ruby-fox12/Makefile b/x11-toolkits/ruby-fox12/Makefile
index 2c8eb509147..1942339160d 100644
--- a/x11-toolkits/ruby-fox12/Makefile
+++ b/x11-toolkits/ruby-fox12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fox
PORTVERSION= 1.2.6
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-toolkits ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= fxruby
@@ -33,18 +33,21 @@ NOHARM_ARGS= --no-harm
USE_XORG= xcursor x11
USE_GL= yes
+.include <bsd.port.pre.mk>
+
install-noharm:
cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${NOHARM_ARGS} ${RUBY_INSTALL_ARGS}
post-configure:
-
+.if ${OSVERSION} >= 700000
@${REINPLACE_CMD} -e 's|CPPFLAGS = -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2|CPPFLAGS = -ffriend-injection -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2|' \
${WRKSRC}/ext/fox12/Makefile
+.endif
do-install:
@${ECHO_MSG} "===> Running ${RUBY_SETUP} to install"
@cd ${INSTALL_WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${RUBY_INSTALL_ARGS}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>