1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/converters/iconv-extra/files/patch-ces__Makefile
Jan Beich 7b01e3f763 converters/iconv-extra: unbreak on 12.0 after base r306297
===> ces (all)
make[2]: don't know how to make unicode-1-1-utf-7.so. Stop
2017-02-01 21:47:01 +00:00

29 lines
649 B
Plaintext

--- 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}