- Fix the build about xgps and xgpsspeed

PR:		ports/146065
Submitted by:	Thomas Rasmussen <thomas@gibfest.dk>
This commit is contained in:
Wen Heping 2010-05-03 04:09:15 +00:00
parent e8cf1b88b8
commit 32ae0acc0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253594

View File

@ -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