diff options
Diffstat (limited to 'audio/spiralloops/Makefile')
-rw-r--r-- | audio/spiralloops/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile index d550ba8..98b5dbf 100644 --- a/audio/spiralloops/Makefile +++ b/audio/spiralloops/Makefile @@ -16,7 +16,7 @@ LICENSE= GPLv2 LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk GNU_CONFIGURE= yes -MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" +MAKE_ENV= PTHREAD_LIBS="-lpthread" WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_FILES= bin/SpiralLoops @@ -36,7 +36,7 @@ post-patch: s:-O3::g; \ s:CFLAGS =:CFLAGS +=:g; \ s:CXXFLAGS=:CXXFLAGS+=:g; \ - s:-lm:${PTHREAD_LIBS} -lm:g; \ + s:-lm:-lpthread -lm:g; \ s:/usr/X11R6:${LOCALBASE}:g; \ s:gcc:${CC}:; s:g\+\+:${CXX}:" \ < ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in |