svn commit: r327361 - head/Mk/Uses

John Marino marino at FreeBSD.org
Sun Sep 15 22:15:59 UTC 2013


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


More information about the svn-ports-all mailing list