aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libmpeg2
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-11-18 12:18:47 +0800
committerlioux <lioux@FreeBSD.org>2005-11-18 12:18:47 +0800
commitc70dea7fd796b4fb13a30b55f6e2c5571adfe676 (patch)
treeb6e0259176c20129476c82386c062e96c7b248ec /multimedia/libmpeg2
parent69ba9e892ba8039110313527e9cf771c318b4a4a (diff)
downloadfreebsd-ports-gnome-c70dea7fd796b4fb13a30b55f6e2c5571adfe676.tar.gz
freebsd-ports-gnome-c70dea7fd796b4fb13a30b55f6e2c5571adfe676.tar.zst
freebsd-ports-gnome-c70dea7fd796b4fb13a30b55f6e2c5571adfe676.zip
Fix build WITH_SDL on some systems
PR: 88869 Submitted by: Stephen Hurd <shurd@sasktel.net>
Diffstat (limited to 'multimedia/libmpeg2')
-rw-r--r--multimedia/libmpeg2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index e79bfccb7e4d..846644968cf2 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -66,7 +66,9 @@ pre-everything::
@${ECHO_MSG} "====>"
post-patch:
- @${REINPLACE_CMD} -e 's|<SDL/|<SDL11/|' ${WRKSRC}/libvo/*
+ @${REINPLACE_CMD} -e 's|<SDL/|<SDL11/|' \
+ ${WRKSRC}/src/* \
+ ${WRKSRC}/libvo/*
@${REINPLACE_CMD} -e 's|-O3||;s|<termio.h>|<termios.h>|' ${WRKSRC}/configure
# AMD64 prefers position independent code
.if ${ARCH:L} == "amd64"