graphics/libdvdread cannot build , due to USE_AUTOMAKE not being set in the port makefile . /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL *** Error code 1 Fix: Begin note : i cannot test the program after adding the USE_AUTOMAKE , so i would recommend someone with dvd drive / whatever this port does to test it .--STyLT4fK8TpqxXRg8SSdFO6XpI4hco9Ivb1K4kv0ipEzqtZW Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.old Sun Jan 27 20:55:39 2002 +++ Makefile Sun Jan 27 20:55:50 2002 @@ -15,6 +15,7 @@ GNU_CONFIGURE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +USE_AUTOMAKE= yes DOC_FILES= AUTHORS NEWS README TODO End How-To-Repeat: cd /usr/ports/graphics/libdvdread make
On Sun, Jan 27, 2002 at 09:43:46PM -0800, darren wrote: > graphics/libdvdread cannot build , due to USE_AUTOMAKE not being set in the port makefile . > > /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/local/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/local/share/automake/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL > *** Error code 1 Hummm, it does not requires USE_AUTOMAKE IMHO. I've just pkg_delete(d) all auto* installed ports from my system and built it just fine. Are you using a recent enough ports' tree?
Responsible Changed From-To: freebsd-ports->lioux I'm working with submitter
Humm, I did an ugly hack that seems to circumvent the situation when there is automake installed in the system. I tried several patching mechanisms, none worked. However, building both aclocal and automake fake files; then, placing them in the beginning of PATH did the trick. Ugly little hack but it is also both the smallest and simplest fix. It seems. Let me know if I can commit this version. --- Makefile.orig Fri Feb 22 23:30:43 2002 +++ Makefile Fri Feb 22 23:32:16 2002 @@ -24,10 +24,20 @@ EXTRA_PATCHES=3D ${FILESDIR}/extra-patch-configure.in .endif =20 +FAKE_PROGRAMS=3D aclocal automake +MAKE_ENV=3D PATH=3D"${WRKDIR}/bin:${PATH}" + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "=3D=3D=3D=3D> If you want to enable optimizations, please d= efine WITH_OPTIMIZED_CFLAGS" .endif + +pre-configure: + @${MKDIR} ${WRKDIR}/bin +.for file in ${FAKE_PROGRAMS} + @${ECHO_CMD} > ${WRKDIR}/bin/${file} + @${CHMOD} 0555 ${WRKDIR}/bin/${file} +.endfor =20 post-configure: @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature
State Changed From-To: open->closed Committed, thanks!