diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-07-04 15:14:40 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-07-04 15:16:31 -0500 |
commit | 27888db821adf9e3f46aabf51251a52140fa3e31 (patch) | |
tree | 0712d191bc70e3456aae66d521eb849a3b269d17 /extra | |
parent | 89d49cb578ba7e54c57f80b03a18e0c0c59d2f02 (diff) |
Abiword fix
Diffstat (limited to 'extra')
-rw-r--r-- | extra/abiword/PKGBUILD | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/extra/abiword/PKGBUILD b/extra/abiword/PKGBUILD index 4b81dc298..a9286b983 100644 --- a/extra/abiword/PKGBUILD +++ b/extra/abiword/PKGBUILD @@ -16,33 +16,6 @@ source=("http://www.abisource.com/downloads/${pkgbase}/${pkgver}/source/${pkgbas sha1sums=('998f69d038000b3fc027d4259548f02d67c8d0df' 'e5374f439e3d9b63a4bbd2cd39146c67cf1e85ea') -if [ "${CARCH}" = 'mips64el' ]; then - - ARCHFLAGS="" - for opt in ${CFLAGS}; do - case ${opt} in - -O?) ARCHFLAGS+="-O1 " ;; - *) ARCHFLAGS+="${opt} " ;; - esac - done - CFLAGS=${ARCHFLAGS} - - ARCHFLAGS="" - for opt in ${CXXFLAGS}; do - case ${opt} in - -O?) ARCHFLAGS+="-O1 " ;; - *) ARCHFLAGS+="${opt} " ;; - esac - done - CXXFLAGS=${ARCHFLAGS} - - unset ARCHFLAGS - - echo CFLAGS : ${CFLAGS} - echo CXXFLAGS: ${CXXFLAGS} -fi - - build() { cd "${srcdir}/${pkgbase}-${pkgver}" @@ -51,6 +24,8 @@ build() { autoreconf ./configure --prefix=/usr --enable-clipart --enable-templates --enable-collab-backend-xmpp --enable-collab-backend-tcp --enable-collab-backend-service --disable-collab-backend-sugar --enable-plugins --without-gnomevfs --with-gio --with-goffice --disable-static --with-psiconv-config=/nothere + + sed -ir 's/--no-undefined/-no-undefined/' src/Makefile make } |