Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 17:12:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303606 - head/astro/gpsd
Message-ID:  <201209031712.q83HCqZg016763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep  3 17:12:51 2012
New Revision: 303606
URL: http://svn.freebsd.org/changeset/ports/303606

Log:
  - Fix linking with pthreads
  - While here, add IGNORE for specific illegal options combination
  
  PR:		ports/170510
  Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
  Approved by:	glebius (maintainer)

Modified:
  head/astro/gpsd/Makefile

Modified: head/astro/gpsd/Makefile
==============================================================================
--- head/astro/gpsd/Makefile	Mon Sep  3 16:30:17 2012	(r303605)
+++ head/astro/gpsd/Makefile	Mon Sep  3 17:12:51 2012	(r303606)
@@ -7,6 +7,7 @@
 
 PORTNAME=	gpsd
 PORTVERSION=	3.6
+PORTREVISION=	1
 CATEGORIES=	astro geography
 MASTER_SITES=	SAVANNAH
 
@@ -191,6 +192,10 @@ SCONS_ARGS+=	ntpshm=no
 
 .if defined(WITHOUT_PPS)
 SCONS_ARGS+=	pps=no
+.else
+.	if defined(WITHOUT_NTPSHM)
+IGNORE=		PPS requires NTPSHM
+.	endif
 .endif
 
 .if defined(WITH_PPSONCTS)
@@ -268,6 +273,9 @@ PLIST_SUB+=	CURSES=""
 SCONS_ARGS+=	profiling=yes
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Qgpsmm.pc.in
+
 # generates .py[co] files for installed modules
 # if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted
 # with these files when module is imported from root user



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209031712.q83HCqZg016763>