1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Mark BROKEN on FreeBSD 9.X:

k3bscsicommand_bsd.cpp:96: error: 'struct scsi_sense_data' has no member named 'flags'
  k3bscsicommand_bsd.cpp:97: error: 'struct scsi_sense_data' has no member named 'add_sense_code'
  k3bscsicommand_bsd.cpp:98: error: 'struct scsi_sense_data' has no member named 'add_sense_code_qual'
  [..]

Reported by:	pointyhat
Feature safe:	yes
This commit is contained in:
Pav Lucistnik 2011-12-05 17:29:39 +00:00
parent f11a039d00
commit 1e2c257b6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286934

View File

@ -25,6 +25,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900044
BROKEN= does not compile on FreeBSD 9.X
.endif
post-patch:
@${REINPLACE_CMD} -e 's,-O2,,g ; \
s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@ -35,4 +41,4 @@ post-patch:
's,^kde includedir,# kde includedir,' \
${WRKSRC}/libk9copy/Makefile.in
.include <bsd.port.mk>
.include <bsd.port.post.mk>