diff options
Diffstat (limited to 'multimedia/xawtv/Makefile')
-rw-r--r-- | multimedia/xawtv/Makefile | 11 |
1 files changed, 7 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 |