View | Details | Raw Unified | Return to bug 105896
Collapse All | Expand All

(-)/home/trasz/chinput3/Makefile (-2 / +4 lines)
Lines 18-23 Link Here
18
USE_XLIB=	yes
18
USE_XLIB=	yes
19
USE_GETTEXT=	yes
19
USE_GETTEXT=	yes
20
USE_GNOME=	gtk12 imlib
20
USE_GNOME=	gtk12 imlib
21
USE_LDCONFIG=	${PREFIX}/lib/Chinput/im/
21
22
22
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
23
SUB_FILES=	pkg-message
24
SUB_FILES=	pkg-message
Lines 25-31 Link Here
25
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
26
27
27
.if ${ARCH} != "i386"
28
.if ${ARCH} != "i386"
28
BROKEN=		"Does not compile on !i386"
29
BROKEN=		Does not compile on !i386
29
.endif
30
.endif
30
31
31
post-patch:
32
post-patch:
Lines 39-45 Link Here
39
		-e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \
40
		-e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \
40
		    s|-I/usr/include|-I${LOCALBASE}/include|; \
41
		    s|-I/usr/include|-I${LOCALBASE}/include|; \
41
		    s|-L/usr/lib|-L${LOCALBASE}/lib|; \
42
		    s|-L/usr/lib|-L${LOCALBASE}/lib|; \
42
		    s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|'
43
		    s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|; \
44
		    s|/usr/X11R6|${X11BASE}|'
43
45
44
post-install:
46
post-install:
45
	@${CAT} ${PKGMESSAGE}
47
	@${CAT} ${PKGMESSAGE}

Return to bug 105896