Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 17:39:00 +0100 (CET)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185268: [patch] japanese/Wnn7-lib: remove USE_GCC=any, staging.
Message-ID:  <201312291639.rBTGd0j5033461@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201312291640.rBTGe0bN008262@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291639.rBTGd0j5033461>