Date: Wed, 5 Jun 2013 21:09:40 GMT From: Rene Ladan <rene@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179352: databases/mysql51-server: remove optional dependency on eevel/linuxthreads Message-ID: <201306052109.r55L9eo4012045@oldred.freebsd.org> Resent-Message-ID: <201306052110.r55LA0sp036684@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179352 >Category: ports >Synopsis: databases/mysql51-server: remove optional dependency on eevel/linuxthreads >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 05 21:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rene Ladan >Release: FreeBSD 9.1-amd64 >Organization: >Environment: Ports Tree at revision 320012 >Description: databases/mysql51-server optionally depends on devel/linuxthreads, which is expired. Remove the WITH_LINUXTHREADS knob from the Makefile. >How-To-Repeat: `Tools/scripts/rmport devel/linuxthreads` finds this port. >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 320012) +++ Makefile (working copy) @@ -72,17 +72,8 @@ .if ${ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif -.if defined(WITH_LINUXTHREADS) -CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads -CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads -LIB_DEPENDS+= lthread:${PORTSDIR}/devel/linuxthreads -CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++' -.else CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS} CFLAGS+= ${PTHREAD_CFLAGS} -.endif .if defined(BUILD_OPTIMIZED) CFLAGS+= -O3 -fno-omit-frame-pointer @@ -140,7 +131,6 @@ @${ECHO} " WITH_COLLATION=collate Define default collation (latin1_swedish_ci)." @${ECHO} " WITH_OPENSSL=yes Enable secure connections" @${ECHO} " (define WITHOUT_YASSL for backward compatibility)." - @${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library." @${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads" @${ECHO} " (try it if you use libpthread)." @${ECHO} " WITH_FAST_MUTEXES=yes Replace mutexes with spinlocks." >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306052109.r55L9eo4012045>