Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 12:15:50 +0000 (UTC)
From:      Thomas Abthorpe <tabthorpe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332233 - head/Mk
Message-ID:  <201310311215.r9VCFoUu074071@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tabthorpe
Date: Thu Oct 31 12:15:50 2013
New Revision: 332233
URL: http://svnweb.freebsd.org/changeset/ports/332233

Log:
  - Remove final vestiges of ruby18
  
  Exp-run by:	bdrewery

Modified:
  head/Mk/bsd.ruby.mk

Modified: head/Mk/bsd.ruby.mk
==============================================================================
--- head/Mk/bsd.ruby.mk	Thu Oct 31 11:53:29 2013	(r332232)
+++ head/Mk/bsd.ruby.mk	Thu Oct 31 12:15:50 2013	(r332233)
@@ -15,7 +15,7 @@ Ruby_Include_MAINTAINER=	ruby@FreeBSD.or
 # [variables that a user may define]
 #
 # RUBY_VER		- (See below)
-# RUBY_DEFAULT_VER	- Set to (e.g.) "1.8" if you want to refer to "ruby18"
+# RUBY_DEFAULT_VER	- Set to (e.g.) "1.9" if you want to refer to "ruby19"
 #			  just as "ruby".
 # RUBY_ARCH		- (See below)
 # RUBY_RD_HTML		- Define if you want HTML files generated from RD files.
@@ -172,36 +172,7 @@ _RUBY_VENDORDIR!=	${_RUBY_CONFIG} 'puts 
 RUBY?=			${LOCALBASE}/bin/${RUBY_NAME}
 
 .if defined(RUBY_VER)
-. if ${RUBY_VER} == 1.8
-#
-# Ruby 1.8
-#
-RUBY_RELVERSION=	1.8.7
-RUBY_PORTREVISION=	0
-RUBY_PORTEPOCH=		1
-RUBY_PATCHLEVEL=	371
-
-.  if ${RUBY_PATCHLEVEL} == 0
-RUBY_VERSION?=		${RUBY_RELVERSION}
-RUBY_DISTVERSION?=	${RUBY_RELVERSION}
-.  else
-RUBY_VERSION?=		${RUBY_RELVERSION}.${RUBY_PATCHLEVEL}
-RUBY_DISTVERSION?=	${RUBY_RELVERSION}-p${RUBY_PATCHLEVEL}
-.  endif
-
-# Security patch
-RUBY_PATCHFILES?=	${RUBY_VERSION}-patch1.gz
-
-RUBY_WRKSRC=		${WRKDIR}/ruby-${RUBY_DISTVERSION}
-
-#
-# PLIST_SUB helpers
-#
-RUBY18=			""
-RUBY19=			"@comment "
-RUBY20=			"@comment "
-
-. elif ${RUBY_VER} == 1.9
+. if ${RUBY_VER} == 1.9
 #
 # Ruby 1.9
 #
@@ -225,7 +196,6 @@ RUBY_CONFIGURE_ARGS+=	--with-rubyhdrdir=
 #
 # PLIST_SUB helpers
 #
-RUBY18=			"@comment "
 RUBY19=			""
 RUBY20=			"@comment "
 
@@ -253,7 +223,6 @@ RUBY_CONFIGURE_ARGS+=	--with-rubyhdrdir=
 #
 # PLIST_SUB helpers
 #
-RUBY18=			"@comment "
 RUBY19=			"@comment "
 RUBY20=			""
 
@@ -262,7 +231,7 @@ RUBY20=			""
 #
 # Other versions
 #
-IGNORE=	Only ruby 1.8, 1.9 and 2.0 are supported
+IGNORE=	Only ruby 1.9 and 2.0 are supported
 . endif
 .endif # defined(RUBY_VER)
 
@@ -360,7 +329,6 @@ PLIST_SUB+=		${PLIST_RUBY_DIRS:C,DIR="($
 			RUBY_SUFFIX="${RUBY_SUFFIX}" \
 			RUBY_NAME="${RUBY_NAME}" \
 			RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \
-			RUBY18=${RUBY18} \
 			RUBY19=${RUBY19} \
 			RUBY20=${RUBY20} \
 
@@ -594,7 +562,7 @@ RUN_DEPENDS+=		${DEPEND_RUBY}
 
 _use=	${USE_RUBY_FEATURES:Miconv}
 .if !empty(_use)
-.if (${RUBY_VER} == 1.8) || (${RUBY_VER} == 1.9)
+.if (${RUBY_VER} == 1.9)
 BUILD_DEPENDS+=		${DEPEND_RUBY_ICONV}
 RUN_DEPENDS+=		${DEPEND_RUBY_ICONV}
 .endif



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