aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-24 22:08:00 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-24 22:08:00 +0000
commitf8a3a9f0fd17324b506710dda403e5a68937ec37 (patch)
tree78b2cf55cf2ed54fb6bd83bb954840063d9f178b
parent9c6a586f5e45cd74ed70731c4ca66101154750a6 (diff)
downloadports-f8a3a9f0fd17324b506710dda403e5a68937ec37.tar.gz
ports-f8a3a9f0fd17324b506710dda403e5a68937ec37.zip
Notes
-rw-r--r--graphics/libdvdread/Makefile6
-rw-r--r--multimedia/libdvdread/Makefile6
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}