pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gpsbabel Fix builds on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc19c6c677b8
branches:  trunk
changeset: 543649:bc19c6c677b8
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Jun 21 18:35:03 2008 +0000

description:
Fix builds on Darwin

diffstat:

 geography/gpsbabel/Makefile         |   4 +++-
 geography/gpsbabel/distinfo         |   3 ++-
 geography/gpsbabel/patches/patch-ad |  35 +++++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 2 deletions(-)

diffs (71 lines):

diff -r 577897d0441b -r bc19c6c677b8 geography/gpsbabel/Makefile
--- a/geography/gpsbabel/Makefile       Sat Jun 21 18:25:28 2008 +0000
+++ b/geography/gpsbabel/Makefile       Sat Jun 21 18:35:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/06/20 01:09:21 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/21 18:35:03 adrianp Exp $
 #
 
 DISTNAME=      gpsbabel-1.3.4
@@ -12,6 +12,8 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+LIBS.Darwin+=  -lexpat
+
 GNU_CONFIGURE= yes
 
 .include "../../devel/libusb/buildlink3.mk"
diff -r 577897d0441b -r bc19c6c677b8 geography/gpsbabel/distinfo
--- a/geography/gpsbabel/distinfo       Sat Jun 21 18:25:28 2008 +0000
+++ b/geography/gpsbabel/distinfo       Sat Jun 21 18:35:03 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/09/21 05:12:08 martti Exp $
+$NetBSD: distinfo,v 1.2 2008/06/21 18:35:03 adrianp Exp $
 
 SHA1 (gpsbabel-1.3.4.tar.gz) = 9b504ce151bb44b86558cce5c3f727819cdb30c5
 RMD160 (gpsbabel-1.3.4.tar.gz) = 2391f0b3aef271567808edbed6fc2c481d5514ea
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 06166a96029100d6e5828875d00d7dde1acf90f9
 SHA1 (patch-ab) = 194779944c80cbab89563dad1d7876564bd374df
 SHA1 (patch-ac) = 3d464f3fc7786f1a5dff61e4a3b88b0f358081e7
+SHA1 (patch-ad) = f5ce3036d1e2cff1d25333a547ded859a21312cd
diff -r 577897d0441b -r bc19c6c677b8 geography/gpsbabel/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsbabel/patches/patch-ad       Sat Jun 21 18:35:03 2008 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-ad,v 1.1 2008/06/21 18:35:03 adrianp Exp $
+
+--- Makefile.in.orig   2007-07-23 22:30:00.000000000 +0100
++++ Makefile.in
+@@ -90,7 +90,7 @@ LIBOBJS = queue.o route.o waypt.o filter
+ OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
+ 
+ .c.o:
+-      $(CC)  @CPPFLAGS@ -c $(GBCFLAGS) $< $(OUTPUT_SWITCH)$@
++      $(CC)  @CPPFLAGS@ -c $(GBCFLAGS) $< $(OUTPUT_SWITCH) $@
+ 
+ 
+ 
+@@ -101,10 +101,10 @@ WEB=@DOCDIR@
+ all: gpsbabel$(EXEEXT)
+ 
+ gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@ 
+-      $(CC)  $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@
++      $(CC)  $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH) $@
+ 
+ gpsbabel-debug: $(OBJS)
+-      $(CC)  $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@
++      $(CC)  $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH) $@
+ 
+ Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in gbversion.h.in
+       CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 
+@@ -113,7 +113,7 @@ config.status: configure 
+       $(SHELL) config.status --recheck
+ 
+ jeeps/gpslibusb.o: 
+-      $(CC)  @CPPFLAGS@ -c $(GBCFLAGS) @USB_CFLAGS@ @srcdir@/jeeps/gpslibusb.c $(OUTPUT_SWITCH)$@
++      $(CC)  @CPPFLAGS@ -c $(GBCFLAGS) @USB_CFLAGS@ @srcdir@/jeeps/gpslibusb.c $(OUTPUT_SWITCH) $@
+ 
+ fileinfo.o: win32/gpsbabel.rc
+       $(RC) -o fileinfo.o win32/gpsbabel.rc



Home | Main Index | Thread Index | Old Index