Tell configure to use -lm.
Adjust WANTLIB-motif and bump.
This commit is contained in:
parent
68d9dba63a
commit
f85afedfdd
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.30 2009/08/10 06:33:02 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.31 2009/12/16 14:59:40 kili Exp $
|
||||
|
||||
COMMENT-main= service daemon that monitors one or more GPSes
|
||||
COMMENT-motif= motif-based test apps using gpsd
|
||||
@ -8,7 +8,7 @@ COMMENT-python= python bindings for gpsd
|
||||
VERSION= 2.38
|
||||
DISTNAME= gpsd-${VERSION}
|
||||
PKGNAME-main= gpsd-${VERSION}p0
|
||||
PKGNAME-motif= gpsd-motif-${VERSION}p1
|
||||
PKGNAME-motif= gpsd-motif-${VERSION}p2
|
||||
PKGNAME-php= gpsd-php-${VERSION}
|
||||
PKGNAME-python= gpsd-python-${VERSION}p1
|
||||
SHARED_LIBS= gps 18.0
|
||||
@ -46,12 +46,12 @@ CONFIGURE_ARGS+= --without-x
|
||||
.else
|
||||
MULTI_PACKAGES+= -motif
|
||||
WANTLIB-motif= ICE Xaw8 Xau Xdmcp Xext Xft Xmu Xp Xpm Xrender X11 SM Xt \
|
||||
c m pthread expat fontconfig freetype iconv \
|
||||
c m pthread expat fontconfig freetype iconv jpeg png \
|
||||
pthread-stubs xcb z
|
||||
LIB_DEPENDS-motif= Xm::x11/openmotif gps::misc/gpsd
|
||||
USE_X11= Yes
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm"
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mno_python}
|
||||
|
Loading…
Reference in New Issue
Block a user