aboutsummaryrefslogtreecommitdiff
path: root/audio/lame/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
committerSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
commit89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch)
treedab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /audio/lame/files
parent65b63032bfb3a3f1c8ac4ee660ac83927b43c92a (diff)
downloadports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.tar.gz
ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.zip
- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=30342
Diffstat (limited to 'audio/lame/files')
-rw-r--r--audio/lame/files/patch-aa16
1 files changed, 10 insertions, 6 deletions
diff --git a/audio/lame/files/patch-aa b/audio/lame/files/patch-aa
index e13ac22e4320..47cbc6de3f76 100644
--- a/audio/lame/files/patch-aa
+++ b/audio/lame/files/patch-aa
@@ -1,10 +1,12 @@
---- Makefile.orig Thu Apr 20 01:50:18 2000
-+++ Makefile Thu Apr 20 01:50:39 2000
-@@ -12,7 +12,7 @@
+--- 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 = gcc
-CC_OPTS = -O
++CC ?= gcc
+CC_OPTS = ${CFLAGS}
GTK =
GTKLIBS =
@@ -13,9 +15,11 @@
##########################################################################
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`
+ifndef WITHOUT_X11
- GTK = -DHAVEGTK `gtk12-config --cflags`
- GTKLIBS = `gtk12-config --libs`
++ 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