aboutsummaryrefslogtreecommitdiff
path: root/audio/gnomemedia2
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-05 02:36:07 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-05 02:36:07 +0000
commit625689e7ca7de099a73bbdeddb1c918a7a2fea85 (patch)
treea2ab01425561bdceedc13af09e6a00fa7f43efb9 /audio/gnomemedia2
parenta2ad5407f3aa19d25687cbb4391736823f1429d4 (diff)
downloadports-625689e7ca7de099a73bbdeddb1c918a7a2fea85.tar.gz
ports-625689e7ca7de099a73bbdeddb1c918a7a2fea85.zip
- Fix build for some 5.x users who don't have lrint yet
PR: 79547 Reported by: Michael Kuhn
Notes
Notes: svn path=/head/; revision=132516
Diffstat (limited to 'audio/gnomemedia2')
-rw-r--r--audio/gnomemedia2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile
index a5219831189b..adb8b3e19da5 100644
--- a/audio/gnomemedia2/Makefile
+++ b/audio/gnomemedia2/Makefile
@@ -42,6 +42,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0|' ${WRKSRC}/configure
.else
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0c|' ${WRKSRC}/configure
+.endif
+.if ${OSVERSION} < 504000
@${REINPLACE_CMD} -e 's|lrint|rint|' \
${WRKSRC}/gnome-cd/gst-cdparanoia-cdrom.c \
${WRKSRC}/gst-mixer/src/volume.c