Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2013 22:15:59 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327361 - head/Mk/Uses
Message-ID:  <201309152215.r8FMFxoe086396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Sep 15 22:15:58 2013
New Revision: 327361
URL: http://svnweb.freebsd.org/changeset/ports/327361

Log:
  Mk/Uses/readline.mk: Restore functionality for DragonFly
  
  For minimal breakage reasons, DragonFly has OSVERSION set to the
  equivalent of FreeBSD 99.  When the readline compatibility for FreeBSD
  10 was revoked recently, it broke a lot of dports.
  
  Restore the default to how it was before on DragonFly only to restore
  those ports using OPSYS.
  
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/Uses/readline.mk

Modified: head/Mk/Uses/readline.mk
==============================================================================
--- head/Mk/Uses/readline.mk	Sun Sep 15 21:41:35 2013	(r327360)
+++ head/Mk/Uses/readline.mk	Sun Sep 15 22:15:58 2013	(r327361)
@@ -12,9 +12,12 @@
 .if !defined(_INCLUDE_USES_READLINE_MK)
 _INCLUDE_USES_READLINE_MK=	yes
 
-#.if ${OSVERSION} > 1000000
+#.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
 #readline_ARGS=	port
 #.endif
+.if ${OPSYS} == DragonFly
+readline_ARGS=	port
+.endif
 
 .if defined(readline_ARGS) && ${readline_ARGS} == port
 LIB_DEPENDS+=		libreadline.so.6:${PORTSDIR}/devel/readline



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309152215.r8FMFxoe086396>