diff options
author | mi <mi@FreeBSD.org> | 2002-04-09 10:00:19 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-04-09 10:00:19 +0800 |
commit | c1563cc2a1f0143532aff5671d9ab5efb198a585 (patch) | |
tree | 84e787a8c916744b44807c884b8a63468c8d747f /palm/coldsync/Makefile | |
parent | 2599b76c408d187a21bce9f638469800007159cf (diff) | |
download | freebsd-ports-gnome-c1563cc2a1f0143532aff5671d9ab5efb198a585.tar.gz freebsd-ports-gnome-c1563cc2a1f0143532aff5671d9ab5efb198a585.tar.zst freebsd-ports-gnome-c1563cc2a1f0143532aff5671d9ab5efb198a585.zip |
Patch to use the new names of some of the usb.h's structures' fields if
the OSVERSION is above 450000. Add a maintainer submitted patch to
recognize the Palm's vendor-id (not just Handspring). Update pkg-descr
accordingly and bump PORTREVISION.
Approved by: maintainer
Diffstat (limited to 'palm/coldsync/Makefile')
-rw-r--r-- | palm/coldsync/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile index dd30935b870c..089410648f19 100644 --- a/palm/coldsync/Makefile +++ b/palm/coldsync/Makefile @@ -7,7 +7,7 @@ PORTNAME= coldsync PORTVERSION= 2.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= palm comms MASTER_SITES= http://www.ooblick.com/software/coldsync/ @@ -35,6 +35,12 @@ CONFIGURE_ARGS+= --with-i18n # 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: + ${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: |