summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-01-13 18:29:52 +0000
committerwiz <wiz@pkgsrc.org>2003-01-13 18:29:52 +0000
commit3a15fc9faea9f33eba13ca6e36fbd4f3c4129461 (patch)
tree196e328d4f31e08aaee1201769f43545567dec5e /comms
parent60ace37e986909b7f2af0860ba03aeaca5456eb3 (diff)
downloadpkgsrc-3a15fc9faea9f33eba13ca6e36fbd4f3c4129461.tar.gz
Update to 2.1.1 to make it work with current pilot-link-libs.
Changes since 2.0.5: ChangeLog only documents portability fixes, but is incomplete.
Diffstat (limited to 'comms')
-rw-r--r--comms/malsync/Makefile9
-rw-r--r--comms/malsync/distinfo10
-rw-r--r--comms/malsync/patches/patch-aa39
-rw-r--r--comms/malsync/patches/patch-ab10
4 files changed, 32 insertions, 36 deletions
diff --git a/comms/malsync/Makefile b/comms/malsync/Makefile
index e43493e730b..89ce6990b42 100644
--- a/comms/malsync/Makefile
+++ b/comms/malsync/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2002/10/05 03:43:42 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/01/13 18:29:52 wiz Exp $
#
DISTNAME= ${PKGNAME_NOREV:S/-/_/}.src
-PKGNAME= malsync-2.0.5
-PKGREVISION= 1
-WRKSRC= ${WRKDIR}/malsync/mal/client/unix
+PKGNAME= malsync-2.1.1
+WRKSRC= ${WRKDIR}/malsync
CATEGORIES= comms
MASTER_SITES= http://www.tomw.org/malsync/
@@ -14,6 +13,8 @@ COMMENT= utility to synchronize Palm Pilots to the AvantGo.com service
USE_BUILDLINK2= YES
USE_GMAKE= YES
+MAKE_ENV+= PILOT_LINK_DIR=${BUILDLINK_PREFIX.pilot-link-libs}
+CPPFLAGS+= -D__unix__=1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/malsync ${PREFIX}/bin
diff --git a/comms/malsync/distinfo b/comms/malsync/distinfo
index eccafe28ee4..2b734156336 100644
--- a/comms/malsync/distinfo
+++ b/comms/malsync/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/06/27 18:07:55 jlam Exp $
+$NetBSD: distinfo,v 1.4 2003/01/13 18:29:52 wiz Exp $
-SHA1 (malsync_2.0.5.src.tar.gz) = 47e0097f051b1ffb0be67cd092657ff9d80ade3c
-Size (malsync_2.0.5.src.tar.gz) = 178522 bytes
-SHA1 (patch-aa) = 55c856379af88b90e098b2cfb1457c98bc79f415
-SHA1 (patch-ab) = dc5247e4b4a8df76b4d19c4b298bbb7c50e1fc3a
+SHA1 (malsync_2.1.1.src.tar.gz) = c2746f25cd7a10409c342f34675dd072b6ea1cdd
+Size (malsync_2.1.1.src.tar.gz) = 171745 bytes
+SHA1 (patch-aa) = 31179e60ebb301a612fc8339795d7e185667005f
+SHA1 (patch-ab) = de38ceb03f777bac1f4612517850e023dee946b7
diff --git a/comms/malsync/patches/patch-aa b/comms/malsync/patches/patch-aa
index 281ec8b4f6c..bf65e400f17 100644
--- a/comms/malsync/patches/patch-aa
+++ b/comms/malsync/patches/patch-aa
@@ -1,35 +1,30 @@
-$NetBSD: patch-aa,v 1.2 2001/06/27 18:07:55 jlam Exp $
+$NetBSD: patch-aa,v 1.3 2003/01/13 18:29:52 wiz Exp $
---- Makefile.orig Sun May 14 17:17:35 2000
+--- Makefile.orig Sun Nov 17 19:52:53 2002
+++ Makefile
-@@ -1,4 +1,3 @@
--CC = gcc
+@@ -1,5 +1,7 @@
TARGET = malsync
++all: ${TARGET}
++
PLAT := $(shell uname)
-@@ -12,9 +11,9 @@
+
+ ifeq ($(PLAT),SunOS)
+@@ -15,7 +17,6 @@ LINKLIBS = -lm
endif
- TREETOP = ../../..
--PILOT_LINK_DIR = $(TREETOP)/vendor/pilot/pilot-link.0.9.3
-+PILOT_LINK_DIR = ${BUILDLINK_DIR}
-
--CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
-+CFLAGS+=-DMALSYNC -D__unix__ -I$(TREETOP)/mal/common \
- -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
-
-
-@@ -55,10 +54,12 @@
+ TREETOP = .
+-PILOT_LINK_DIR = $(TREETOP)/pilot-link-0.11.5
- OBJS = $(SRC:.c=.o)
-
-+all: ${TARGET}
-+
+ CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
+ -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include \
+@@ -72,8 +73,8 @@ DYNLINK = -rdynamic
+ endif
$(TARGET): $(OBJS)
-- $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \
-- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
-+ $(CC) -rdynamic $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
+- $(CC) $(DYNLINK) $(CFLAGS) -o $@ $(OBJS) \
+- -L${PILOT_LINK_DIR}/libpisock/.libs -lpisock $(LINKLIBS)
++ $(CC) $(DYNLINK) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
+ -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS)
clean:
rm -f $(OBJS) $(TARGET)
diff --git a/comms/malsync/patches/patch-ab b/comms/malsync/patches/patch-ab
index 138cc6e4567..6975be1005a 100644
--- a/comms/malsync/patches/patch-ab
+++ b/comms/malsync/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
+$NetBSD: patch-ab,v 1.2 2003/01/13 18:29:53 wiz Exp $
---- ../../../mal/common/AGNet.h.orig Sun May 14 23:17:36 2000
-+++ ../../../mal/common/AGNet.h Thu Jun 15 14:20:07 2000
+--- mal/common/AGNet.h.orig Fri Jan 5 17:50:07 2001
++++ mal/common/AGNet.h
@@ -54,6 +54,7 @@
# else /* defined(macintosh) */
# include <netdb.h>
@@ -14,8 +14,8 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
# include <sys/filio.h>
# include <arpa/inet.h>
# else
--# ifdef __FreeBSD__
-+# if (defined(BSD) && BSD >= 199306)
+-# if defined(__FreeBSD__) || defined(_HPUX_SOURCE)
++# if (defined(BSD) && BSD >= 199306) || defined(_HPUX_SOURCE)
# include <sys/ioctl.h>
# include <arpa/inet.h>
# else