diff options
-rw-r--r-- | graphics/libdvdread/Makefile | 6 | ||||
-rw-r--r-- | multimedia/libdvdread/Makefile | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/libdvdread/Makefile b/graphics/libdvdread/Makefile index 451ffb3b1d85..3677b3251f27 100644 --- a/graphics/libdvdread/Makefile +++ b/graphics/libdvdread/Makefile @@ -29,6 +29,12 @@ pre-everything:: @${ECHO_MSG} "====> If you want to enable optimizations, please define WITH_OPTIMIZED_CFLAGS" .endif +post-patch: +.for p in Makefile.in dvdread/Makefile.in src/Makefile.in + @${PERL} -pi -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \ + s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p} +.endfor + post-configure: @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile index 451ffb3b1d85..3677b3251f27 100644 --- a/multimedia/libdvdread/Makefile +++ b/multimedia/libdvdread/Makefile @@ -29,6 +29,12 @@ pre-everything:: @${ECHO_MSG} "====> If you want to enable optimizations, please define WITH_OPTIMIZED_CFLAGS" .endif +post-patch: +.for p in Makefile.in dvdread/Makefile.in src/Makefile.in + @${PERL} -pi -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \ + s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p} +.endfor + post-configure: @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} |