aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby20
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-17 00:34:10 +0800
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-17 00:34:10 +0800
commitef5a8cdc9097247c916b524211957d60b1109400 (patch)
treea1d263a21302de503ce146483246c9d1ede8921c /lang/ruby20
parente4343d70fd4006cdded06afba566cf5ac81c1042 (diff)
downloadfreebsd-ports-gnome-ef5a8cdc9097247c916b524211957d60b1109400.tar.gz
freebsd-ports-gnome-ef5a8cdc9097247c916b524211957d60b1109400.tar.zst
freebsd-ports-gnome-ef5a8cdc9097247c916b524211957d60b1109400.zip
Only the default package will be named ruby-<version> now, to stop confusing users
Approved by: ruby (swills)
Diffstat (limited to 'lang/ruby20')
-rw-r--r--lang/ruby20/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby20/Makefile b/lang/ruby20/Makefile
index 4015f91a3a21..67fb7d24b45c 100644
--- a/lang/ruby20/Makefile
+++ b/lang/ruby20/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.
@@ -85,6 +84,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