mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Respect X11BASE
PR: ports/105896 Submitted by: trasz
This commit is contained in:
parent
8a1c7a1fdc
commit
3546e00b57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178133
@ -18,6 +18,7 @@ LATEST_LINK= zh-chinput3
|
||||
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 @@ SUB_FILES= pkg-message
|
||||
.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 @@ pre-build:
|
||||
-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}
|
||||
|
Loading…
Reference in New Issue
Block a user