diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-09-03 17:12:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-09-03 17:12:51 +0000 |
commit | 5f7a2eef1ddfb7a0f0b3ce12577e2439f527b661 (patch) | |
tree | b859856b090e2d5696c59aa9d75b7403af050b43 /astro | |
parent | - Update to 1.3.1 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=303606
Diffstat (limited to 'astro')
-rw-r--r-- | astro/gpsd/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/astro/gpsd/Makefile b/astro/gpsd/Makefile index 2e69fa43439b..c8ab8971cb3b 100644 --- a/astro/gpsd/Makefile +++ b/astro/gpsd/Makefile @@ -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 |