diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-16 01:26:17 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-16 01:26:17 +0800 |
commit | d96249396976d6b17163a796464fdd795f34b404 (patch) | |
tree | b6c7a261d1319c320f83dd03a3881069d8a6011b /irc/xchat-ruby | |
parent | 9d1da6e17c2ccaaac0815b101c95fbcbd3a4ad44 (diff) | |
download | freebsd-ports-gnome-d96249396976d6b17163a796464fdd795f34b404.tar.gz freebsd-ports-gnome-d96249396976d6b17163a796464fdd795f34b404.tar.zst freebsd-ports-gnome-d96249396976d6b17163a796464fdd795f34b404.zip |
Fix build on -current. Also, remove unnecessary bsd.port.options.mk inclusion.
Diffstat (limited to 'irc/xchat-ruby')
-rw-r--r-- | irc/xchat-ruby/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/irc/xchat-ruby/Makefile b/irc/xchat-ruby/Makefile index 5ed19af89720..e10acf2aa636 100644 --- a/irc/xchat-ruby/Makefile +++ b/irc/xchat-ruby/Makefile @@ -27,27 +27,25 @@ PORTEXAMPLES= embedify.rb TimerSample.rb JFilter.rb JBanner.rb OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - post-patch: ${REINPLACE_CMD} \ -e 's|^RUBY=.*|RUBY=${RUBY}|' \ -e 's|-lruby$$|-l${RUBY_NAME}|' \ -e 's|^ARCHDIR=.*|ARCHDIR=`$$(RUBY) ${FILESDIR}/rubypath.rb`|' \ + -e '/^CC=/s|gcc|${CC}|' \ + -e 's|^CFLAGS=|CFLAGS+=|' \ ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/xchat/plugins ${INSTALL_PROGRAM} ${WRKSRC}/xchat-ruby.so \ ${STAGEDIR}${PREFIX}/lib/xchat/plugins/ -.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${DOCSRC}/,} ${STAGEDIR}${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${DOCSRC}/*/,} \ ${STAGEDIR}${EXAMPLESDIR}/ -.endif .include <bsd.port.mk> |