aboutsummaryrefslogtreecommitdiffstats
path: root/converters/iconv-extra/files/patch-ces__Makefile
blob: 8c24c8543cdf842addbf5c8a4753f6861e677290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- ces/Makefile.orig   Wed Nov 29 03:42:25 2000
+++ ces/Makefile    Fri Oct 21 11:24:04 2005
@@ -4,8 +4,8 @@
 all:       ${CHARSETS_SO}
 
 .if !defined(ICONVDIR_LIBC)
-CFLAGS +=  -I/usr/local/include
-LDADD +=   -L/usr/local/lib -liconv
+CFLAGS +=  -I${PREFIX}/include
+LDADD +=   -L${PREFIX}/lib -lbiconv
 .endif
 
 INTERNALLIB =
@@ -14,11 +14,11 @@ NOMAN =
 
 NOOBJ =
 
-CLEANFILES =   ${CHARSETS_SO} *.So
+CLEANFILES =   ${CHARSETS_SO} *.So .pico
 
-.SUFFIXES: .so .So
+.SUFFIXES: .so .So .pico
 
-.So.so:
+.So.so .pico.so:
        @${LDDESTDIRENV} ${CC} -shared -Wl,-x -o ${.TARGET} \
        -Wl,-soname,${.TARGET} `lorder ${.ALLSRC} | tsort -q` \
        ${LDDESTDIR} ${LDADD}