diff options
author | oliver <oliver@FreeBSD.org> | 2005-11-12 01:18:36 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-11-12 01:18:36 +0800 |
commit | 8d2194658fcbe8bd94637114cff7d7475fbf5fa0 (patch) | |
tree | 2526472a75bca467365b7a7e174b9a5728446c7f | |
parent | 002e911fbf74e28029d13817a832cfbd0d37364d (diff) | |
download | freebsd-ports-gnome-8d2194658fcbe8bd94637114cff7d7475fbf5fa0.tar.gz freebsd-ports-gnome-8d2194658fcbe8bd94637114cff7d7475fbf5fa0.tar.zst freebsd-ports-gnome-8d2194658fcbe8bd94637114cff7d7475fbf5fa0.zip |
fix libquicktime support
PR: ports/88671
Submitted by: Frank W. Josellis
-rw-r--r-- | multimedia/xawtv/Makefile | 11 | ||||
-rw-r--r-- | multimedia/xawtv/files/patch-libng-plugins-read-qt.c | 15 | ||||
-rw-r--r-- | multimedia/xawtv/files/patch-libng-plugins-write-qt.c | 15 |
3 files changed, 37 insertions, 4 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile index f22415aa0703..c609ab58edf8 100644 --- a/multimedia/xawtv/Makefile +++ b/multimedia/xawtv/Makefile @@ -28,7 +28,8 @@ USE_GMAKE= yes USE_XPM= yes USE_X_PREFIX= yes USE_REINPLACE= yes -CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" +CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \ + DLFLAGS="-L${LOCALBASE}/lib" MAKE_ENV= verbose=yes INSTALLS_SHLIB= yes @@ -112,9 +113,11 @@ pre-everything:: @${ECHO} "" post-patch: - @${REINPLACE_CMD} -e "s|/usr/X11R6|${X11BASE}|g" \ - -e "s|/usr/local|${LOCALBASE}|g" \ - -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g; \ + s|/usr/local|${LOCALBASE}|g; \ + s|-lpthread|${PTHREAD_LIBS}|g; \ + s|-lquicktime|-L${LOCALBASE}/lib &|g' \ + ${WRKSRC}/configure .for i in ${FILES_LIBJPEG} @${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i diff --git a/multimedia/xawtv/files/patch-libng-plugins-read-qt.c b/multimedia/xawtv/files/patch-libng-plugins-read-qt.c new file mode 100644 index 000000000000..607d1717de8e --- /dev/null +++ b/multimedia/xawtv/files/patch-libng-plugins-read-qt.c @@ -0,0 +1,15 @@ +--- libng/plugins/read-qt.c.orig Fri Feb 14 15:13:43 2003 ++++ libng/plugins/read-qt.c Tue Nov 8 09:09:45 2005 +@@ -4,9 +4,9 @@ + #include <stdio.h> + #include <string.h> + #include <pthread.h> +-#include <quicktime/quicktime.h> +-#include <quicktime/colormodels.h> +-#include <quicktime/lqt.h> ++#include <lqt/quicktime.h> ++#include <lqt/colormodels.h> ++#include <lqt/lqt.h> + + #include "grab-ng.h" + diff --git a/multimedia/xawtv/files/patch-libng-plugins-write-qt.c b/multimedia/xawtv/files/patch-libng-plugins-write-qt.c new file mode 100644 index 000000000000..b8773e7d2390 --- /dev/null +++ b/multimedia/xawtv/files/patch-libng-plugins-write-qt.c @@ -0,0 +1,15 @@ +--- libng/plugins/write-qt.c.orig Fri Feb 14 15:13:44 2003 ++++ libng/plugins/write-qt.c Tue Nov 8 09:18:57 2005 +@@ -4,9 +4,9 @@ + #include <stdio.h> + #include <string.h> + #include <pthread.h> +-#include <quicktime/quicktime.h> +-#include <quicktime/colormodels.h> +-#include <quicktime/lqt.h> ++#include <lqt/quicktime.h> ++#include <lqt/colormodels.h> ++#include <lqt/lqt.h> + + #include "grab-ng.h" + |