ports/67577: [PATCH] x11-wm/ion-2: add option WITH_MULTIBYTE

Andrey Slusar vasallia at ukr.net
Fri Jun 4 17:30:20 UTC 2004


>Number:         67577
>Category:       ports
>Synopsis:       [PATCH] x11-wm/ion-2: add option WITH_MULTIBYTE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 04 10:30:13 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 1 12:02:59 EEST 2004 root at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	Mainteiner CC'ed.
	Without MB_SUPPORT ion-2 not working international menus - only english support:
	ion -i18n not working. Add define WITH_MULTIBYTE to port
>How-To-Repeat:
	N/A
>Fix:

--- ion-2.diff begins here ---
diff -ru ion-2/Makefile ion-2.new/Makefile
--- ion-2/Makefile	Wed Jun  2 08:06:01 2004
+++ ion-2.new/Makefile	Fri Jun  4 19:04:46 2004
@@ -22,11 +22,18 @@
 USE_LIBTOOL_VER=15
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
+.if defined(WITH_MULTIBYTE)
+USE_REINPLACE=	yes
+.endif
 
 MAN1=		ion.1 pwm.1
 DOCSDIR=	share/doc/ion
 
 # NO, I don't want to use configure but ion's author system.mk
 do-configure:
+.if defined(WITH_MULTIBYTE)
+	@${REINPLACE_CMD} -e 's|DEFINES += -DCF_NO_MB_SUPPORT|#DEFINES += -DCF_NO_MB_SUPPORT|g' \
+	    ${WRKSRC}/system.mk
+.endif
 
 .include <bsd.port.mk>
--- ion-2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list