aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-12-02 03:05:00 +0800
committeritetcu <itetcu@FreeBSD.org>2009-12-02 03:05:00 +0800
commit107c1e6041c7b46f76888a3e6737e6dd50d9bad0 (patch)
treec481500f25df6d0937720750d229547182a12980 /multimedia/vlc
parentf8509f9bb9c386445dd93e18304f23250db0d126 (diff)
downloadfreebsd-ports-gnome-107c1e6041c7b46f76888a3e6737e6dd50d9bad0.tar.gz
freebsd-ports-gnome-107c1e6041c7b46f76888a3e6737e6dd50d9bad0.tar.zst
freebsd-ports-gnome-107c1e6041c7b46f76888a3e6737e6dd50d9bad0.zip
Work around ./configure failing to properly make use of sys/mount.h by passing
it explicitely to CFLAGS. Submitted by: Joseph S. Atkinson (maintainer)
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 147fc9810dac..d4c9466e8982 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -99,7 +99,7 @@ MAN1= vlc.1 \
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 701000)
-CONFIGURE_ENV+= HAS_SYS_MOUNT_H="1"
+CFLAGS+= -DHAVE_SYS_MOUNT_H
.endif
WITH_VLC_DEFAULT_FONT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf