1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/audio/lame/files/patch-aa
Chris Piazza e123b917e9 - Update to 3.50
- Allow a flag NO_X11 which builds without using GTK

PR:		14876
Submitted by:	Aaron Smith <aaron@mutex.org>
Reviewed by:	maintainer
1999-11-21 01:08:44 +00:00

23 lines
632 B
Plaintext

--- Makefile.orig Fri Nov 12 01:28:34 1999
+++ Makefile Fri Nov 12 01:39:22 1999
@@ -12,7 +12,7 @@
# defaults:
PGM = lame
CC = gcc
-CC_OPTS = -O
+CC_OPTS = ${CFLAGS}
GTK =
GTKLIBS =
SNDLIB =
@@ -106,8 +106,10 @@
##########################################################################
ifeq ($(UNAME),FreeBSD)
# remove if you do not have GTK or do not want the GTK frame analyzer
+ifndef NO_X11
GTK = -DHAVEGTK `gtk12-config --cflags`
GTKLIBS = `gtk12-config --libs`
+endif
# Comment out next 2 lines if you want to remove VBR histogram capability
BRHIST_SWITCH = -DBRHIST
LIBTERMCAP = -lncurses