Index: head/palm/coldsync/Makefile =================================================================== --- head/palm/coldsync/Makefile (revision 71846) +++ head/palm/coldsync/Makefile (revision 71847) @@ -1,51 +1,51 @@ # New ports collection makefile for: coldsync # Date created: 27 January 2000 # Whom: Andrew Arensburger # # $FreeBSD$ # PORTNAME= coldsync PORTVERSION= 2.1.3 PORTREVISION= 3 CATEGORIES= palm comms MASTER_SITES= http://www.coldsync.org/download/ MAINTAINER= arensb+freebsd-ports@ooblick.com LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Palm/PDB.pm:${PORTSDIR}/palm/p5-Palm +USE_PERL= yes GNU_CONFIGURE= yes -USE_REINPLACE= yes -REINPLACE_ARGS= -i.bak -E # The ColdSync.3 man page describes a Perl package. That's why it goes # in the Perl manpage directory. MAN1= send-mail.1 \ todo-text.1 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= ColdSync.3 \ ColdSync::SPC.3 MAN8= coldsync.8 MANCOMPRESSED= no .include -CONFIGURE_ARGS+= --with-i18n +CFLAGS+= -D__BSD_VISIBLE=1 +CONFIGURE_ARGS+= --with-i18n --disable-pedantic # I don't know how to test for a version of {Net,Open}BSD that supports USB. .if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 400000 CONFIGURE_ARGS+= --with-usb .if ${OSVERSION} >= 450000 post-patch: - ${REINPLACE_CMD} -e 's,udi\.(\S+),udi.udi_\1,g;' \ + ${PERL} -pi -e 's,udi\.(\S+),udi.udi_\1,g;' \ -e 's,ur\.(\S+),ur.ucr_\1,g;' \ ${WRKSRC}/configure ${WRKSRC}/libpconn/PConnection_usb.c .endif .endif post-install: @install-info ${PREFIX}/info/conduits.info ${PREFIX}/info/dir .include Property changes on: head/palm/coldsync/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/palm/coldsync/files/patch-in6 =================================================================== --- head/palm/coldsync/files/patch-in6 (nonexistent) +++ head/palm/coldsync/files/patch-in6 (revision 71847) @@ -0,0 +1,23 @@ +--- libpconn/PConnection_net.c Sun Apr 15 06:33:56 2001 ++++ libpconn/PConnection_net.c Wed Dec 25 20:09:52 2002 +@@ -10,5 +10,7 @@ + #include /* For bzero() */ + #include /* Solaris's requires this */ ++#ifndef __FreeBSD__ /* resolv.h without in6.h blows up on FreeBSD */ + #include /* For inet_ntop() under Solaris */ ++#endif + + #if HAVE_LIBINTL_H +--- src/coldsync.c Tue May 15 15:23:40 2001 ++++ src/coldsync.c Wed Dec 25 20:12:40 2002 +@@ -25,5 +25,9 @@ + + #include /* Solaris's requires this */ ++#ifdef __FreeBSD__ ++#define __KAME_NETINET_IN_H_INCLUDED_ ++#include ++#undef __KAME_NETINET_IN_H_INCLUDED_ /* XXX: you are welcome to fix this */ +-#include /* For inet_ntop() under Solaris */ ++#endif + #include /* For sleep(), getopt() */ + #include /* For isalpha() and friends */ Property changes on: head/palm/coldsync/files/patch-in6 ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property