Bug 179352 - databases/mysql51-server: remove optional dependency on eevel/linuxthreads
Summary: databases/mysql51-server: remove optional dependency on eevel/linuxthreads
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-05 22:10 UTC by Rene Ladan
Modified: 2013-06-10 14:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.28 KB, patch)
2013-06-05 22:10 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer freebsd_triage 2013-06-05 22:10:00 UTC
databases/mysql51-server optionally depends on devel/linuxthreads, which is expired. Remove the WITH_LINUXTHREADS knob from the Makefile.

Fix: Patch attached with submission follows:
How-To-Repeat: `Tools/scripts/rmport devel/linuxthreads` finds this port.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-05 22:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2013-06-10 14:27:18 UTC
State Changed
From-To: open->closed

Committed thanks
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-06-10 14:27:18 UTC
Author: ale
Date: Mon Jun 10 13:27:10 2013
New Revision: 320471
URL: http://svnweb.freebsd.org/changeset/ports/320471

Log:
  Update to 5.1.70 release.
  Remove LINUXTHREADS option. [1]
  
  PR:		ports/179352
  Submitted by:	rene

Modified:
  head/databases/mysql51-server/Makefile
  head/databases/mysql51-server/distinfo

Modified: head/databases/mysql51-server/Makefile
==============================================================================
--- head/databases/mysql51-server/Makefile	Mon Jun 10 13:16:53 2013	(r320470)
+++ head/databases/mysql51-server/Makefile	Mon Jun 10 13:27:10 2013	(r320471)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME?=	mysql
-PORTVERSION=	5.1.69
+PORTVERSION=	5.1.70
 PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_MYSQL}
@@ -72,17 +72,9 @@ BROKEN=		Does not compile on arm
 .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 +132,6 @@ pre-fetch:
 	@${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."

Modified: head/databases/mysql51-server/distinfo
==============================================================================
--- head/databases/mysql51-server/distinfo	Mon Jun 10 13:16:53 2013	(r320470)
+++ head/databases/mysql51-server/distinfo	Mon Jun 10 13:27:10 2013	(r320471)
@@ -1,2 +1,2 @@
-SHA256 (mysql-5.1.69.tar.gz) = 17a5a8a468a6e58cb3be6a16241246fdfd6248d8b5229e46fdb5ffcc070de929
-SIZE (mysql-5.1.69.tar.gz) = 23947181
+SHA256 (mysql-5.1.70.tar.gz) = 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed
+SIZE (mysql-5.1.70.tar.gz) = 23984241
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"