1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

fix build with lame.

This commit is contained in:
FUJISHIMA Satsuki 2003-12-28 01:05:16 +00:00
parent c0c1552a04
commit d4a1aee4af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96721
2 changed files with 32 additions and 6 deletions

View File

@ -1,5 +1,5 @@
--- Makefile.orig Sun Sep 28 17:26:39 2003
+++ Makefile Sat Dec 6 02:29:28 2003
--- Makefile.orig Sun Dec 28 09:52:46 2003
+++ Makefile Sun Dec 28 10:00:38 2003
@@ -6,8 +6,7 @@
VPATH=$(SRC_PATH)
@ -10,7 +10,20 @@
ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p
@@ -69,8 +68,8 @@
@@ -33,10 +32,11 @@
DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(SLIBPREF)avformat$(SLIBSUF)
else
DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(LIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
+endif
+
ifeq ($(CONFIG_MP3LAME),yes)
EXTRALIBS+=-lmp3lame
endif
-endif
ifeq ($(CONFIG_VORBIS),yes)
EXTRALIBS+=-logg -lvorbis -lvorbisenc
@@ -69,8 +69,8 @@
all: lib $(PROG) $(PROGTEST) $(VHOOK)
lib:

View File

@ -1,5 +1,5 @@
--- Makefile.orig Sun Sep 28 17:26:39 2003
+++ Makefile Sat Dec 6 02:29:28 2003
--- Makefile.orig Sun Dec 28 09:52:46 2003
+++ Makefile Sun Dec 28 10:00:38 2003
@@ -6,8 +6,7 @@
VPATH=$(SRC_PATH)
@ -10,7 +10,20 @@
ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p
@@ -69,8 +68,8 @@
@@ -33,10 +32,11 @@
DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(SLIBPREF)avformat$(SLIBSUF)
else
DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(LIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
+endif
+
ifeq ($(CONFIG_MP3LAME),yes)
EXTRALIBS+=-lmp3lame
endif
-endif
ifeq ($(CONFIG_VORBIS),yes)
EXTRALIBS+=-logg -lvorbis -lvorbisenc
@@ -69,8 +69,8 @@
all: lib $(PROG) $(PROGTEST) $(VHOOK)
lib: