svn commit: r303606 - head/astro/gpsd
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Sep 3 17:12:52 UTC 2012
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 at 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
More information about the svn-ports-all
mailing list