svn commit: r410482 - head/irc/ircd-ratbox

Bernard Spil brnrd at FreeBSD.org
Sun Mar 6 20:08:52 UTC 2016


Author: brnrd
Date: Sun Mar  6 20:08:50 2016
New Revision: 410482
URL: https://svnweb.freebsd.org/changeset/ports/410482

Log:
  irc/ircd-ratbox: Fix build failure with SHORTCUTS enabled
  
   - bsd.port.options.mk must be included before targets are defined
  
  Reviewed by:	feld (mentor)
  Approved by:	feld (mentor)
  Differential Revision:	D5479
  MFH:		2016Q1

Modified:
  head/irc/ircd-ratbox/Makefile

Modified: head/irc/ircd-ratbox/Makefile
==============================================================================
--- head/irc/ircd-ratbox/Makefile	Sun Mar  6 20:06:41 2016	(r410481)
+++ head/irc/ircd-ratbox/Makefile	Sun Mar  6 20:08:50 2016	(r410482)
@@ -83,6 +83,7 @@ CONFIGURE_ARGS+=	--with-nicklen=${NICKLE
 .endif
 
 #-----------------------------------------------------------------------
+.include <bsd.port.options.mk>
 
 post-patch:
 .if !defined(WITH_DEBUG)
@@ -129,7 +130,6 @@ pre-build:
 		-e "s#%%WRKSRC%%#${WRKSRC}#g" ${WRKSRC}/contrib/ircd-shortcut.pl
 
 # ----- Execute ircd-shortcut perl script to generate the .c file. -----
-.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSHORTCUTS}
 	@${ECHO_MSG} "Executing ircd-shortcut.pl for ircd-shortcuts generation."


More information about the svn-ports-head mailing list