diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-11 08:37:29 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-11 08:37:29 +0000 |
commit | 6800ba47b98408fc8b9f4bd2d632eeaccd471f0b (patch) | |
tree | 8dd45a44dd21cfbe8ae26fe439a1c9162d0dd124 /audio/gogo | |
parent | Add drgenius, a geometry exploration application built on top of GNOME. (diff) |
linuxthreads' shlib major is 3 on FreeBSD 5 or later.
Notes
Notes:
svn path=/head/; revision=72883
Diffstat (limited to 'audio/gogo')
-rw-r--r-- | audio/gogo/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/gogo/Makefile b/audio/gogo/Makefile index 05bf0b2e2acf..1e7ce33b34e3 100644 --- a/audio/gogo/Makefile +++ b/audio/gogo/Makefile @@ -27,6 +27,8 @@ ONLY_FOR_ARCHS= i386 # Recommended ONLY for benchmarks. # CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387 +.include <bsd.port.pre.mk> + pre-fetch: .if !defined(WITH_THREADS) @${ECHO_MSG} "set WITH_THREADS to compile with linuxthreads." @@ -34,8 +36,12 @@ pre-fetch: MAKE_ENV+= "USE_MT=no" .else MAKE_ENV+= "USE_MT=yes" +.if ${OSVERSION} >= 500035 +LIB_DEPENDS= lthread.3:${PORTSDIR}/devel/linuxthreads +.else LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin @@ -49,4 +55,4 @@ do-install: ${PREFIX}/share/doc/gogo/cdda2mp3.gogo.ja .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |