Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 00:58:30 +0100 (CET)
From:      Edward@pin.if.uz.zgora.pl, Tomasz@pin.if.uz.zgora.pl, Napierała@pin.if.uz.zgora.pl, +48 605 601 053 <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105896: [PATCH] chinese/chinput: respect X11BASE
Message-ID:  <20061126235830.2592E39DBA@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611270000.kAR00VD9021124@freefall.freebsd.org>

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

>Number:         105896
>Category:       ports
>Synopsis:       [PATCH] chinese/chinput: respect X11BASE
>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:   Mon Nov 27 00:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Edward Tomasz Napierała,,,+48 605 601 053
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Respect X11BASE.

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5-exp.2006101300/zh-chinput-3.0.2.5_3.log

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- chinput-3.0.2.5_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/chinput3/Makefile /home/trasz/chinput3/Makefile
--- /usr/ports/chinese/chinput3/Makefile	Sat Oct 14 10:53:47 2006
+++ /home/trasz/chinput3/Makefile	Mon Nov 27 00:56:09 2006
@@ -18,6 +18,7 @@
 USE_XLIB=	yes
 USE_GETTEXT=	yes
 USE_GNOME=	gtk12 imlib
+USE_LDCONFIG=	${PREFIX}/lib/Chinput/im/
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
@@ -25,7 +26,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386"
-BROKEN=		"Does not compile on !i386"
+BROKEN=		Does not compile on !i386
 .endif
 
 post-patch:
@@ -39,7 +40,8 @@
 		-e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \
 		    s|-I/usr/include|-I${LOCALBASE}/include|; \
 		    s|-L/usr/lib|-L${LOCALBASE}/lib|; \
-		    s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|'
+		    s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|; \
+		    s|/usr/X11R6|${X11BASE}|'
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
--- chinput-3.0.2.5_3.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?20061126235830.2592E39DBA>