freebsd-ports/audio/lame/files/patch-aa
Mario Sergio Fujikawa Ferreira e5accf3361 1) Revert change supporting for shared library build/installation
due to uncertainty: there are too many unsharable global variables.
Pointed out by Alexander Leidinger.
2) Due the last, revert to previous state without static library
installation
3) Revert patch template to patch-aa revision 1.7
4) Unique change that is not reverse related: update MASTER_SITES
using MASTER_SITE_SOURCEFORGE (joseph@randomnetworks.com)
5) PORTREVISION bump.

I am reverting this for I won't be around to discuss this for the
time being. :)

If anyone wants to, please contact the submitter.

Submitted by:	Alexander Leidinger <Alexander@leidinger.net>,
		Joseph Scott <joseph@randomnetworks.com>
2001-01-08 00:54:30 +00:00

27 lines
749 B
Text

--- Makefile.orig Sat Jul 1 15:31:35 2000
+++ Makefile Sat Jul 1 15:36:07 2000
@@ -11,8 +11,8 @@
# defaults:
PGM = lame
-CC = gcc
-CC_OPTS = -O
+CC ?= gcc
+CC_OPTS = ${CFLAGS}
GTK =
GTKLIBS =
SNDLIB = -DLAMESNDFILE
@@ -136,8 +136,10 @@
##########################################################################
ifeq ($(UNAME),FreeBSD)
# remove if you do not have GTK or do not want the GTK frame analyzer
- GTK = -DHAVEGTK `gtk12-config --cflags`
- GTKLIBS = `gtk12-config --libs`
+ifdef HAVE_GTK
+ GTK = -DHAVEGTK `$(GTK_CONFIG) --cflags`
+ GTKLIBS = `$(GTK_CONFIG) --libs`
+endif
# Comment out next 2 lines if you want to remove VBR histogram capability
BRHIST_SWITCH = -DBRHIST
LIBTERMCAP = -lncurses