From owner-freebsd-ports Fri Jul 27 6:10: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DCE637B405 for ; Fri, 27 Jul 2001 06:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6RDA1R19207; Fri, 27 Jul 2001 06:10:01 -0700 (PDT) (envelope-from gnats) Date: Fri, 27 Jul 2001 06:10:01 -0700 (PDT) Message-Id: <200107271310.f6RDA1R19207@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Pete Fritchman Subject: Re: ports/29258: audio/mp3info doesn't build gmp3info Reply-To: Pete Fritchman Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/29258; it has been noted by GNATS. From: Pete Fritchman To: Richard Wiwatowski Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/29258: audio/mp3info doesn't build gmp3info Date: Fri, 27 Jul 2001 09:06:40 -0400 ++ 27/07/01 17:19 +0930 - Richard Wiwatowski: | Apply the following patch (e.g. create it as files/patch-aa): Oops, I goofed and forgot to include files/patch-Makefile with my last PR. How about this instead (it scales better with different versions of gtk): --- Makefile.orig Mon Jul 16 05:17:27 2001 +++ Makefile Sat Jul 21 22:55:42 2001 @@ -28,7 +28,7 @@ # bindir = where binaries get installed (default = /usr/local/bin) # mandir = where the manual page gets installed (default = /usr/local/man/man1) -prefix=/usr/local +prefix=${PREFIX} bindir=${prefix}/bin mandir = $(prefix)/man/man1 @@ -45,7 +45,7 @@ LIBS = -lncurses CC = gcc -CFLAGS = -g -O2 -Wall +CFLAGS += -Wall all: mp3info gmp3info doc @@ -55,7 +55,7 @@ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) gmp3info: $(XSRC) $(XOBJ) - $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `gtk-config --cflags --libs` + $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `${GTK_CONFIG} --cflags --libs` mp3info.txt: mp3info.1 groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt I really need to make cvs diff -uN work better, oh well.. -pete -- Pete Fritchman Databits Network Services, Inc. finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message