ports/139633: unbreak textproc/sdcv on amd64 (sdcv's mainline fix)

Vladimir Kushnir vkushnir at bigmir.net
Thu Oct 15 17:20:03 UTC 2009


The following reply was made to PR ports/139633; it has been noted by GNATS.

From: Vladimir Kushnir <vkushnir at bigmir.net>
To: bug-followup at freebsd.org, vkushnir at bigmir.net
Cc:  
Subject: Re: ports/139633: unbreak textproc/sdcv on amd64 (sdcv's mainline fix)
Date: Thu, 15 Oct 2009 11:11:24 +0300

 Sorry, following up to myself.
 Better  fix was committed into sdcv's SVN trunk. A new patch:at the end of 
 this message.
 
 Regards,
 Vladimir
 
 *** /usr/ports/textproc/sdcv/Makefile	2009-08-31 13:31:17.000000000 +0300
 --- Makefile	2009-10-15 10:12:43.000000000 +0300
 ***************
 *** 35,44 ****
   
   .include <bsd.port.pre.mk>
   
 - .if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
 - BROKEN=		Doesn't build on 64-bit platforms
 - .endif
 - 
   post-patch:
   	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
   		${WRKSRC}/doc/sdcv.1
 --- 35,40 ----
 ***************
 *** 47,52 ****
 --- 43,52 ----
   	@${REINPLACE_CMD} -e 's, getopt.h,,g' ${WRKSRC}/src/Makefile.in
   	@${REINPLACE_CMD} -e '146 s|()|(int, char * const [], const char *)|g' \
   		${WRKSRC}/src/getopt.h
  	@${REINPLACE_CMD} -e '516 s|page_size|static_cast<size_t>(page_size)|g' \
  		${WRKSRC}/src/lib/lib.cpp
   	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
   		${WRKSRC}/src/sdcv.cpp
   	@${REINPLACE_CMD} -e 's, at mandir@/uk, at mandir@,' \



More information about the freebsd-ports-bugs mailing list