Retire OPSYS (well-intentioned, but there was no way this port was

cross-BSD compatible anyway), and also retire <=4.x support while I'm
here
This commit is contained in:
Kris Kennaway 2007-04-15 19:53:22 +00:00
parent af218fd49a
commit ed82c987bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190035

View file

@ -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