Ticket #42640: patch-gnokii-intltool-0.51.diff
File patch-gnokii-intltool-0.51.diff, 2.0 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
5 5 6 6 name gnokii 7 7 version 0.6.31 8 revision 1 8 9 categories comms 9 10 platforms darwin 10 11 maintainers mpal1+bugzilla@ieee.org … … 30 31 sha256 8f5a083b05c1a66a3402ca5cd80084e14c2c0632c991bb53b03c78e9adb02501 31 32 32 33 depends_build port:intltool \ 33 port:pkgconfig 34 port:pkgconfig \ 35 port:autoconf \ 36 port:automake \ 37 port:libtool 38 34 39 depends_lib port:gettext \ 35 40 port:iso-codes \ 36 41 port:libical \ … … 37 42 port:libusb-compat \ 38 43 port:readline 39 44 45 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility 46 40 47 post-patch { 48 xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} 41 49 reinplace "s|/etc/gnokiirc|${prefix}/etc/gnokiirc|" ${worksrcpath}/common/cfgreader.c 42 50 reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Docs/sample/gnokiirc 43 51 } 44 52 53 configure.cmd ./autogen.sh 54 45 55 configure.ldflags-append \ 46 56 -lintl -lglib-2.0 57 47 58 configure.args --enable-security \ 48 59 --disable-smsd \ 49 60 --with-libiconv-prefix=${prefix} \ -
files/autogen.sh
1 #!/bin/sh -e 2 3 if [ "`uname -s`"x = "Darwin"x ]; then 4 glibtoolize -c -f 5 else 6 libtoolize -c -f 7 fi 8 glib-gettextize -f -c 9 intltoolize --force --copy --automake 10 AC_LOCAL_FLAGS="-I m4/" 11 if [ "`uname -s`"x = "FreeBSD"x ]; then 12 AC_LOCAL_FLAGS="${AC_LOCAL_FLAGS} -I /usr/local/share/aclocal" 13 fi 14 aclocal ${AC_LOCAL_FLAGS} 15 autoheader -I m4/ 16 automake --add-missing 17 autoconf 18 ./configure "$@"