summaryrefslogtreecommitdiff
path: root/lang/ruby19
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-16 16:34:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-16 16:34:10 +0000
commitef5a8cdc9097247c916b524211957d60b1109400 (patch)
treea1d263a21302de503ce146483246c9d1ede8921c /lang/ruby19
parentConvert to new perl framework (diff)
Only the default package will be named ruby-<version> now, to stop confusing users
Approved by: ruby (swills)
Notes
Notes: svn path=/head/; revision=327412
Diffstat (limited to 'lang/ruby19')
-rw-r--r--lang/ruby19/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile
index d41bd0c062e2..97f334e01008 100644
--- a/lang/ruby19/Makefile
+++ b/lang/ruby19/Makefile
@@ -60,7 +60,6 @@ _SUF2= ,${PORTEPOCH}
_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 @@ CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
MLINKS= ${RUBY_NAME}.1 ruby.1
PLIST_SUB+= IF_DEFAULT=""
.else
+PKGNAMESUFFIX= ${RUBY_VER:C/\.//}
PLIST_SUB+= IF_DEFAULT="@comment "
.endif