Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 06:10:01 -0700 (PDT)
From:      Pete Fritchman <petef@databits.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/29258: audio/mp3info doesn't build gmp3info
Message-ID:  <200107271310.f6RDA1R19207@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/29258; it has been noted by GNATS.

From: Pete Fritchman <petef@databits.net>
To: Richard Wiwatowski <rjwiwat@betalogic.com.au>
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 <petef@databits.net>
 Databits Network Services, Inc. <http://databits.net>;
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107271310.f6RDA1R19207>