From f370e6bde00ec4b35cdc7ef52f9693e7190aa395 Mon Sep 17 00:00:00 2001 From: araujo Date: Fri, 25 Jul 2008 13:25:50 +0000 Subject: - Fix build on FreeBSD 6.X. - Bump PORTREVISION. Reported by: pointyhat via pav --- x11-toolkits/ruby-fox12/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/ruby-fox12/Makefile b/x11-toolkits/ruby-fox12/Makefile index 2c8eb5091477..1942339160db 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 + 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 +.include -- cgit