ports/105896: [PATCH] chinese/chinput: respect X11BASE
Edward at pin.if.uz.zgora.pl
Edward at pin.if.uz.zgora.pl
Mon Nov 27 00:00:32 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list