aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-04-15 19:53:22 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-04-15 19:53:22 +0000
commited82c987bdb61cd3be8bee6b9677824febca6f70 (patch)
treed46654a2fa52a90ad1b54a5190eeadaecde1aa57 /palm
parentaf218fd49aff0defefe49a5881b33b3fb8f760c5 (diff)
downloadports-ed82c987bdb61cd3be8bee6b9677824febca6f70.tar.gz
ports-ed82c987bdb61cd3be8bee6b9677824febca6f70.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/coldsync/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile
index a3426c454bdc..84d6854e5be3 100644
--- a/palm/coldsync/Makefile
+++ b/palm/coldsync/Makefile
@@ -55,18 +55,12 @@ INFO= conduits
.include <bsd.port.pre.mk>
CFLAGS+= -D__BSD_VISIBLE=1
-CONFIGURE_ARGS+= --disable-pedantic --without-perl
+CONFIGURE_ARGS+= --disable-pedantic --without-perl --with-usb
-# 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\.([A-Za-z0-9]+),udi.udi_\1,g;' \
-e 's,ur\.([A-Za-z0-9]+),ur.ucr_\1,g;' \
${WRKSRC}/configure ${WRKSRC}/libpconn/PConnection_usb.c
-.endif
-.endif
post-configure:
${REINPLACE_CMD} -e 's,-fpic,-fPIC,g' ${WRKSRC}/Make.rules