diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2012-09-04 01:12:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2012-09-04 01:12:51 +0800 |
commit | ffea458e112439611397ae15cc68dfc82d8ddff0 (patch) | |
tree | b859856b090e2d5696c59aa9d75b7403af050b43 /astro | |
parent | b8adb70e8eab9efc71054a1a0e95847a23293919 (diff) | |
download | freebsd-ports-gnome-ffea458e112439611397ae15cc68dfc82d8ddff0.tar.gz freebsd-ports-gnome-ffea458e112439611397ae15cc68dfc82d8ddff0.tar.zst freebsd-ports-gnome-ffea458e112439611397ae15cc68dfc82d8ddff0.zip |
- 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)
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 |