Date: Wed, 24 Jan 2001 01:16:03 -0500 From: "Donald J . Maddox" <dmaddox@sc.rr.com> To: Pete Fritchman <petef@databits.net> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/24589: sdl-devel-1.1.7_2(ports/devel/sdl-devel) isn't install `sdl11-config' command. Message-ID: <20010124011603.A48437@cae88-102-101.sc.rr.com> In-Reply-To: <200101240600.f0O601k52155@freefall.freebsd.org>; from petef@databits.net on Tue, Jan 23, 2001 at 10:00:01PM -0800 References: <200101240600.f0O601k52155@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 23, 2001 at 10:00:01PM -0800, Pete Fritchman wrote: > The following reply was made to PR ports/24589; it has been noted by GNATS. > > From: Pete Fritchman <petef@databits.net> > To: nork@cityfujisawa.ne.jp > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: ports/24589: sdl-devel-1.1.7_2(ports/devel/sdl-devel) isn't install `sdl11-config' command. > Date: Wed, 24 Jan 2001 00:56:07 -0500 > > I'm not sure I completely follow you, as I still end up with sdl11-config > installed (not sure if it works as desired). Would something like this be > what you are looking for? Nobody asked me, but in my opinion, the sdl11.m4 should *not*be installed as sdl11.m4. If sdl11.m4 exists, and sdl.m4 exists, it will cause all autoconf scripts to fail, because you will have duplicated path definitions (AM_PATH_SDL). The whole purpose of autoconfig is to see if you have a package installed that meets some minimum version. There is no provision for seeing if you have a *specific* version, nor for managing multiple versions. Since all any autoconf script is going to check is that you have *at least* a certain version, I think the right thing to do in this case is to simply overwrite sdl.m4 if it's already installed by the older sdl port. The only downside is that if you pkg_delete the old sdl port, it will remove your newer sdl.m4. > > --- Makefile.am.orig Wed Jan 24 00:51:02 2001 > +++ Makefile.am Wed Jan 24 00:51:37 2001 > @@ -13,7 +13,7 @@ > DIST_SUBDIRS = $(SUBDIRS) docs > > # SDL runtime configuration script > -bin_SCRIPTS = sdl-config > +bin_SCRIPTS = sdl11-config > > # All the rest of the distributed files > EXTRA_DIST = \ > @@ -33,13 +33,13 @@ > MPWmake.sea.hqx \ > WhatsNew \ > docs.html \ > - sdl.m4 \ > + sdl11.m4 \ > autogen.sh \ > strip_fPIC.sh > > # M4 macro file for inclusion with autoconf > m4datadir = $(datadir)/aclocal > -m4data_DATA = sdl.m4 > +m4data_DATA = sdl11.m4 > > # Rule to build tar-gzipped distribution package > $(PACKAGE)-$(VERSION).tar.gz: dist > > > ++ 23/01/01 20:53 -0800 - nork@cityfujisawa.ne.jp: > > > >>Number: 24589 > >>Category: ports > >>Synopsis: sdl-devel-1.1.7_2(ports/devel/sdl-devel) isn't install `sdl11-config' command. > >>Confidential: no > >>Severity: critical > >>Priority: medium > >>Responsible: freebsd-ports > >>State: open > >>Quarter: > >>Keywords: > >>Date-Required: > >>Class: sw-bug > >>Submitter-Id: current-users > >>Arrival-Date: Tue Jan 23 21:00:00 PST 2001 > >>Closed-Date: > >>Last-Modified: > >>Originator: Norikatsu Shigemura > >>Release: 4.2-STABLE fetched on Jan 24 2001 > >>Organization: > >>Environment: > >FreeBSD XXXXXXXXX 4.2-STABLE FreeBSD 4.2-STABLE #29: Mon Jan 22 15:07:39 JST 2001 nork@XXXXXXXXX:/usr/src/sys/compile/PELSIA i386 > >>Description: > >After `make patch', ports/devel/sdl-devel/work/Makefile.in is changed. > >But Makefile.am is not changed. > > > >At the end of `make build', Makefile is changed by automake.... > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > >cd ../.. && automake --foreign --include-deps docs/html/Makefile > >cd ../.. && CONFIG_FILES=docs/html/Makefile CONFIG_HEADERS= /bin/sh ./config.status > >creating docs/html/Makefile > >Making all in man3 > >cd ../.. && automake --foreign --include-deps docs/man3/Makefile > >cd ../.. && CONFIG_FILES=docs/man3/Makefile CONFIG_HEADERS= /bin/sh ./config.status > >creating docs/man3/Makefile > >cd .. && automake --foreign --include-deps docs/Makefile > >cd .. && CONFIG_FILES=docs/Makefile CONFIG_HEADERS= /bin/sh ./config.status > >creating docs/Makefile > >cd . && aclocal > >cd . && automake --foreign --include-deps Makefile > >cd . && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status > >creating Makefile > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > >>How-To-Repeat: > > > >>Fix: > >patch for Makefile.am same as Makefile.in (like patch-aj). > > > >>Release-Note: > >>Audit-Trail: > >>Unformatted: > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-ports" in the body of the message > -- > Pete Fritchman <petef@databits.net> > Databits Network Services, Inc. <http://databits.net> > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124011603.A48437>