Index: ruby18/Makefile =================================================================== --- ruby18/Makefile (revision 327373) +++ ruby18/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: ruby18 -# Date created: 6 May 2001 -# Whom: Akinori MUSHA aka knu -# +# Created by: Akinori MUSHA aka knu # $FreeBSD$ -# PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} @@ -59,18 +55,8 @@ _SUF1= _${PORTREVISION} .endif -PKGNAMESUFFIX= #empty - -# -# pthreads in earlier versions has problems with malloc after fork -# -.if ${OSVERSION} < 702000 -WITHOUT_PTHREADS= yes -.endif - .if defined(WITHOUT_PTHREADS) CONFIGURE_ARGS+=--disable-pthread -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+nopthreads .else LDFLAGS+= ${PTHREAD_LIBS} CONFIGURE_ARGS+=--enable-pthread @@ -77,7 +63,6 @@ .endif .if ${PORT_OPTIONS:MONIGURUMA} -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+oniguruma BUILD_DEPENDS+= ${NONEXISTENT}:${ONIGURUMA_PORTDIR}:patch ONIGURUMA_PORTDIR=${PORTSDIR}/devel/oniguruma ONIGURUMA_WRKSRC=`cd ${ONIGURUMA_PORTDIR}; ${MAKE} -V WRKSRC` @@ -99,6 +84,7 @@ MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else +PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif Index: ruby19/Makefile =================================================================== --- ruby19/Makefile (revision 327373) +++ ruby19/Makefile (working copy) @@ -60,7 +60,6 @@ _SUF1= _${PORTREVISION} .endif -PKGNAMESUFFIX= #empty CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread. @@ -81,6 +80,7 @@ MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else +PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif Index: ruby20/Makefile =================================================================== --- ruby20/Makefile (revision 327373) +++ ruby20/Makefile (working copy) @@ -60,7 +60,6 @@ _SUF1= _${PORTREVISION} .endif -PKGNAMESUFFIX= #empty CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread. @@ -85,6 +84,7 @@ MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else +PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif