Bug 34365 - graphics/libdvdread needs USE_AUTOMAKE to build
Summary: graphics/libdvdread needs USE_AUTOMAKE to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 05:50 UTC by darren
Modified: 2002-03-24 22:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darren 2002-01-28 05:50:00 UTC
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
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-01-28 14:12:56 UTC
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?
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-01-31 23:24:56 UTC
Responsible Changed
From-To: freebsd-ports->lioux

I'm working with submitter
Comment 3 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-02-23 02:43:23 UTC
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
Comment 4 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-03-24 22:08:31 UTC
State Changed
From-To: open->closed

Committed, thanks!