freebsd-ports/multimedia/qdvdauthor/files/patch-configure
Pav Lucistnik d13ca8fee4 - Update to 0.0.9
PR:		ports/78002
Submitted by:	Phil Oleson <oz@nixil.net> (maintainer)
2005-02-25 23:52:10 +00:00

36 lines
1 KiB
Text

--- configure.orig Sat Feb 12 22:46:49 2005
+++ configure Mon Feb 14 20:39:36 2005
@@ -295,20 +295,20 @@
esac;
done;
# Sanity check to make sure we have at least one media library ...
- if [ $WITH_MPLAYER_SUPPORT$WITH_VLC_SUPPORT$WITH_XINE_SUPPORT == "000" ];
+ if [ $WITH_MPLAYER_SUPPORT$WITH_VLC_SUPPORT$WITH_XINE_SUPPORT -eq "000" ];
then
export WITH_XINE_SUPPORT=1
fi;
# Here we check for xine, or mplayer
- if [ $WITH_XINE_SUPPORT == 1 ];
+ if [ $WITH_XINE_SUPPORT -eq 1 ];
then
check_xinelibs;
fi;
- if [ $WITH_VLC_SUPPORT == 1 ];
+ if [ $WITH_VLC_SUPPORT -eq 1 ];
then
check_vlclibs;
fi;
- if [ $WITH_MPLAYER_SUPPORT == 1 ];
+ if [ $WITH_MPLAYER_SUPPORT -eq 1 ];
then
check_mplayerlibs;
fi;
@@ -316,7 +316,7 @@
# Next we write CONFIG.h
echo "#ifndef CONFIG_H" > qdvdauthor/CONFIG.h
echo "#define CONFIG_H" >> qdvdauthor/CONFIG.h
- echo "#define PREFIX_DIRECTORY $PREFIX" >> qdvdauthor/CONFIG.h
+ echo "#define PREFIX_DIRECTORY \"$PREFIX\"" >> qdvdauthor/CONFIG.h
echo "#endif // CONFIG_H" >> qdvdauthor/CONFIG.h