diff options
author | wen <wen@FreeBSD.org> | 2010-05-03 12:09:15 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-05-03 12:09:15 +0800 |
commit | 1fde6096939d7e7dc88d955d3b56e6a263994e8a (patch) | |
tree | 58a719b46dbe12dc3211a894387746017d0fda9e /astro/gpsd | |
parent | b28c58e653666e01589cf0e7950e91b828b9e78e (diff) | |
download | freebsd-ports-gnome-1fde6096939d7e7dc88d955d3b56e6a263994e8a.tar.gz freebsd-ports-gnome-1fde6096939d7e7dc88d955d3b56e6a263994e8a.tar.zst freebsd-ports-gnome-1fde6096939d7e7dc88d955d3b56e6a263994e8a.zip |
- Fix the build about xgps and xgpsspeed
PR: ports/146065
Submitted by: Thomas Rasmussen <thomas@gibfest.dk>
Diffstat (limited to 'astro/gpsd')
-rw-r--r-- | astro/gpsd/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/astro/gpsd/Makefile b/astro/gpsd/Makefile index 1f56a2a5cbdd..1c1dc3462e08 100644 --- a/astro/gpsd/Makefile +++ b/astro/gpsd/Makefile @@ -7,6 +7,7 @@ PORTNAME= gpsd PORTVERSION= 2.90 +PORTREVISION= 1 CATEGORIES= astro geography MASTER_SITES= ${MASTER_SITE_BERLIOS} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -68,8 +69,11 @@ SUB_FILES= pkg-message CONFIGURE_ARGS+=--disable-garmin .if defined(WITH_XGPS) +CONFIGURE_ENV+= CFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm" CONFIGURE_ARGS+=--with-x -USE_XORG= x11 +USE_MOTIF= yes +USE_XORG= x11 xpm xaw7 PLIST_SUB+= X11="" .else CONFIGURE_ARGS+=--without-x |