ports/185268: [patch] japanese/Wnn7-lib: remove USE_GCC=any, staging.
Tijl Coosemans
tijl at FreeBSD.org
Sun Dec 29 16:40:00 UTC 2013
>Number: 185268
>Category: ports
>Synopsis: [patch] japanese/Wnn7-lib: remove USE_GCC=any, staging.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 29 16:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tijl Coosemans
>Release: FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Remove USE_GCC=any. The port builds fine with clang since imake
uses tradcpp as preprocessor.
- Remove OPTIONS_DEFAULT=DOCS. It's implicit.
- Staging.
>How-To-Repeat:
>Fix:
--- Wnn7-lib.patch begins here ---
Index: japanese/Wnn7-lib/Makefile
===================================================================
--- japanese/Wnn7-lib/Makefile (revision 337955)
+++ japanese/Wnn7-lib/Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= Wnn7
PORTVERSION= 2001.10.17
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://www.omronsoft.co.jp/SP/pcunix/sdk/wnn/
PKGNAMESUFFIX= -lib
@@ -14,15 +14,12 @@ MAINTAINER= hrs at FreeBSD.org
COMMENT= Wnn7 client library
USES= imake
-USE_GCC= any
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/src
PORTDOCS= README
OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/config/Project.tmpl \
@@ -34,14 +31,10 @@ post-patch:
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make World -f Makefile.ini
-.include <bsd.port.options.mk>
-
post-install:
- ${MKDIR} ${PREFIX}/include/wnn7/wnn
- ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn7/wnn
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/wnn7/wnn
+ ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${STAGEDIR}${PREFIX}/include/wnn7/wnn
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
--- Wnn7-lib.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list