diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-07 05:57:32 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-04-07 05:57:32 +0800 |
commit | ed68b161e069731bff26e1a2d0adf9cb005d240a (patch) | |
tree | 2843d5d93669ca75dc49eecd62e950c4a2ffc070 /converters/bsdconv/files | |
parent | 447339d86d911da27962df642147ae11d1725003 (diff) | |
download | freebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.tar.gz freebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.tar.zst freebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.zip |
Update to 11.5
Changes: https://github.com/buganini/bsdconv/blob/master/Changelog
PR: 218371
Submitted by: sunpoet (myself)
Approved by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Diffstat (limited to 'converters/bsdconv/files')
-rw-r--r-- | converters/bsdconv/files/patch-Makefile | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/converters/bsdconv/files/patch-Makefile b/converters/bsdconv/files/patch-Makefile index a7d3ff4e9988..e3a376d3d688 100644 --- a/converters/bsdconv/files/patch-Makefile +++ b/converters/bsdconv/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2014-05-13 13:09:10 UTC +--- Makefile.orig 2016-10-13 09:55:48 UTC +++ Makefile @@ -5,17 +5,9 @@ BSDCONV_PATH?=${PREFIX} CFLAGS+=-O2 -Wall -D_BSDCONV_INTERNAL -DPREFIX='"${PREFIX}"' -DBSDCONV_PATH='"${BSDCONV_PATH}"' @@ -18,27 +18,10 @@ TODO_FILTERS= TODO_FILTERS+=ANSI -@@ -237,14 +229,14 @@ bsdconv-completion: builddir libbsdconv - bsdconv-dbg: builddir libbsdconv src/libbsdconv.c src/bsdconv.h src/bsdconv-dbg.c - $(CC) ${CFLAGS} src/libbsdconv.c src/bsdconv-dbg.c -o build/bin/bsdconv-dbg ${LIBS} +@@ -334,12 +326,12 @@ clean: + install: install_main install_filters install_scorers install_basic install_chinese install_ebcdic --filters: builddir -+filters: builddir meta - for item in ${TODO_FILTERS} ; do \ - echo Build filter $${item}.so ; \ - $(CC) ${CFLAGS} modules/filter/$${item}.c -L./build/lib/ -fPIC -shared -o ./build/share/bsdconv/filter/$${item}.so -lbsdconv ${LIBS} ; \ - if [ -e modules/filter/$${item}.man ]; then cp modules/filter/$${item}.man ./build/share/bsdconv/filter/$${item}.man ; fi ; \ - done - --scorers: builddir -+scorers: builddir meta - for item in ${TODO_SCORERS} ; do \ - echo Build scorer $${item}.so ; \ - $(CC) ${CFLAGS} modules/scorer/$${item}.c -L./build/lib/ -fPIC -shared -o ./build/share/bsdconv/scorer/$${item}.so -lbsdconv ${LIBS} ; \ -@@ -291,12 +283,12 @@ clean: - install: installdir install_main install_filters install_scorers install_basic install_chinese install_ebcdic - - install_main: + install_main: | installdir - install -m 555 build/bin/bsdconv ${DESTDIR}${PREFIX}/bin - install -m 555 build/bin/bsdconv-man ${DESTDIR}${PREFIX}/bin - install -m 555 build/bin/bsdconv-mktable ${DESTDIR}${PREFIX}/bin @@ -53,23 +36,23 @@ install -m 444 build/share/bsdconv/from/alias ${DESTDIR}${PREFIX}/share/bsdconv/from/alias install -m 444 build/share/bsdconv/inter/alias ${DESTDIR}${PREFIX}/share/bsdconv/inter/alias install -m 444 build/share/bsdconv/to/alias ${DESTDIR}${PREFIX}/share/bsdconv/to/alias -@@ -307,13 +299,13 @@ install_main: +@@ -350,13 +342,13 @@ install_main: | installdir - install_filters: + install_filters: | installdir for item in ${TODO_FILTERS} ; do \ - install -m 444 build/share/bsdconv/filter/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.so ; \ + install ${STRIP} -m 444 build/share/bsdconv/filter/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.so ; \ if [ -e build/share/bsdconv/filter/$${item}.man ]; then install -m 444 build/share/bsdconv/filter/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.man ; fi ; \ done - install_scorers: + install_scorers: | installdir for item in ${TODO_SCORERS} ; do \ - install -m 444 build/share/bsdconv/scorer/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.so ; \ + install ${STRIP} -m 444 build/share/bsdconv/scorer/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.so ; \ if [ -e build/share/bsdconv/scorer/$${item}.man ]; then install -m 444 build/share/bsdconv/scorer/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.man ; fi ; \ done -@@ -321,21 +313,21 @@ install_basic: +@@ -364,21 +356,21 @@ install_basic: | installdir for item in ${TODO_CODECS_BASIC} ; do \ install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \ if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \ @@ -77,7 +60,7 @@ + if [ -e build/share/bsdconv/$${item}.so ]; then install ${STRIP} -m 444 build/share/bsdconv/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.so ; fi ; \ done - install_chinese: + install_chinese: | installdir for item in ${TODO_CODECS_CHINESE} ; do \ install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \ if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \ @@ -85,7 +68,7 @@ + if [ -e build/share/bsdconv/$${item}.so ]; then install ${STRIP} -m 444 build/share/bsdconv/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.so ; fi ; \ done - install_ebcdic: + install_ebcdic: | installdir for item in ${TODO_CODECS_EBCDIC} ; do \ install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \ if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \ |