aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-02-28 10:16:11 +0800
committeredwin <edwin@FreeBSD.org>2004-02-28 10:16:11 +0800
commitbced63608936a96fdf1caa42808ba0c3b2e987a7 (patch)
tree9c877ea80822f3f702c3a612231da0b17061bdfd /audio
parente313e437347cbb027059349509dcf286ab874cb5 (diff)
downloadfreebsd-ports-gnome-bced63608936a96fdf1caa42808ba0c3b2e987a7.tar.gz
freebsd-ports-gnome-bced63608936a96fdf1caa42808ba0c3b2e987a7.tar.zst
freebsd-ports-gnome-bced63608936a96fdf1caa42808ba0c3b2e987a7.zip
Make audio/xmcd work on 5.2.1: uname -r returned an x.y.z number,
giving the PLIST_SUB variable a x.y number, while the port itself calculated from x.y.z to x. Informed maintainer.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmcd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 379f6fd783ce..50fb45dba6e8 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
USE_MOTIF= yes
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/xmcd-3.2.1
-PLIST_SUB+= RELEASE=${OSREL:R} ARCH=${ARCH}
+PLIST_SUB+= RELEASE=${OSREL:R:R} ARCH=${ARCH}
MAN1= cda.1 xmcd.1
MANCOMPRESSED= no
@@ -29,7 +29,7 @@ RMAN= ${X11BASE}/bin/rman
.include <bsd.port.pre.mk>
-LIBBINDIR= ${PREFIX}/lib/X11/xmcd/bin-FreeBSD_${OSREL:R}-${ARCH}
+LIBBINDIR= ${PREFIX}/lib/X11/xmcd/bin-FreeBSD_${OSREL:R:R}-${ARCH}
post-extract:
@${CHMOD} -R u+w ${WRKSRC}