Chris Kuethe [2006-03-13, 09:08:09]:
> patches/patch-serial_c integrated upstream and should be deleted
> 
> the sample client apps (gpxlogger, cgpxlogger, xgps, cgps,...) are all
> now documented in the "xgps" manpage in case anyone is wondering.
> 
> the makefile tries to rebuild the manpages with xmlto, which we don't
> have. i faked that out with "true" since appropriately formatted
> manpages are already provided.

There are some problems with this port.
First, it's clear the dependencies are broken (try make package without
openmotif installed on your system). I suggest the following change
(switch to BUILD/RUN depends since lib-depends-check gives libXm as extra).

Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/gpsd/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    2006/01/14 20:05:49     1.6
+++ Makefile    2006/03/23 17:43:35
@@ -3,10 +3,10 @@
 COMMENT=               "service daemon that monitors one or more GPSes"
 COMMENT-motif=         "motif-based test apps using gpsd"
 
-VERSION=               2.29
+VERSION=               2.32
 DISTNAME=              gpsd-${VERSION}
-PKGNAME=               gpsd-${VERSION}p2
-PKGNAME-motif=         gpsd-motif-${VERSION}p0
+PKGNAME=               gpsd-${VERSION}
+PKGNAME-motif=         gpsd-motif-${VERSION}
 SHARED_LIBS=           gps     16.0
 CATEGORIES=            misc
 
@@ -36,6 +36,8 @@
 MULTI_PACKAGES=                -motif
 CONFIGURE_ENV+=                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"
+RUN_DEPENDS=           ::x11/openmotif
+BUILD_DEPENDS=         ${RUN_DEPENDS}
 .endif
 
 SUBPACKAGE?=
@@ -43,8 +45,7 @@
 .if defined(PACKAGING)
 . if ${SUBPACKAGE} == "-motif"
 WANTLIB=               ICE Xaw X11 SM Xt c m pthread
-LIB_DEPENDS=           Xm::x11/openmotif \
-                       gps::misc/gpsd
+LIB_DEPENDS+=          gps::misc/gpsd
 . endif
 .endif
 

Second, I get a compilation error when doing make regress:

if c++ -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include
 -I/usr/X11R6/include  -O2 -pipe -Wformat -Wbounded -MT gpsmm_test.o
 -MD -MP -MF ".deps/gpsmm_test.Tpo" -c -o gpsmm_test.o gpsmm_test.cpp;
  then mv -f ".deps/gpsmm_test.Tpo" ".deps/gpsmm_test.Po";
  else rm -f ".deps/gpsmm_test.Tpo"; exit 1; fi
gpsmm_test.cpp: In function `int main()':
gpsmm_test.cpp:41: error: invalid conversion from `void (*)(gps_data_t*, char*)
   ' to `void (*)(gps_data_t*, char*, long unsigned int, int)'
gpsmm_test.cpp:41: error:   initializing argument 1 of `int 
   gpsmm::set_callback(void (*)(gps_data_t*, char*, long unsigned int, int))'

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to