aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-16 00:27:33 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-02-16 00:27:33 +0000
commitc1fe14c7d39a442117f9da559a619dcf0fbd8b63 (patch)
tree3214b85efd91c6fff5b4b82b413b3f64bf11d3e4 /audio
parent8f39f06abc0a3e3d91fa520526e2620f6f537a96 (diff)
downloadports-c1fe14c7d39a442117f9da559a619dcf0fbd8b63.tar.gz
ports-c1fe14c7d39a442117f9da559a619dcf0fbd8b63.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3chew/Makefile1
-rw-r--r--audio/mp3chew/files/patch-aa16
2 files changed, 8 insertions, 9 deletions
diff --git a/audio/mp3chew/Makefile b/audio/mp3chew/Makefile
index d3563db44496..07ff87744437 100644
--- a/audio/mp3chew/Makefile
+++ b/audio/mp3chew/Makefile
@@ -21,6 +21,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= ${PORTNAME}
USE_REINPLACE= yes
+MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
DOCFILES= CHANGELOG INSTALL README TODO
diff --git a/audio/mp3chew/files/patch-aa b/audio/mp3chew/files/patch-aa
index 7f21d525efff..cf0f5b57eaa4 100644
--- a/audio/mp3chew/files/patch-aa
+++ b/audio/mp3chew/files/patch-aa
@@ -1,15 +1,13 @@
---- Makefile.orig Sat Mar 10 13:43:29 2001
-+++ Makefile Sat Mar 10 13:44:01 2001
-@@ -2,10 +2,10 @@
+--- Makefile.orig Sat Nov 11 12:36:32 2000
++++ Makefile Sun Feb 15 16:25:11 2004
+@@ -1,8 +1,9 @@
+ CC = g++
TARGET = mp3chew
++CXXFLAGS+= -Wall ${PTHREAD_CFLAGS}
DEPENDS = main.o CMp3Chew.o CMp3Filter.o CMp3SongList.o CMp3Header.o \
CMp3Keys.o CMp3Display.o
-ARGS = -Wall -lpthread -lncurses
-+ARGS = -Wall -lc_r -lncurses
++ARGS = ${PTHREAD_LIBS} -lncurses
$(TARGET) : $(DEPENDS)
-- $(CC) $(ARGS) -o $(TARGET) $(DEPENDS)
-+ $(CC) $(CFLAGS) $(ARGS) -o $(TARGET) $(DEPENDS)
- @echo
- @echo "SUCCESS"
- @echo
+ $(CC) $(ARGS) -o $(TARGET) $(DEPENDS)