dev-libs/ffcall: Remove obsolete ebuild parts
authorBruno Haible <bruno@clisp.org>
Fri, 30 Jun 2017 07:31:54 +0000 (09:31 +0200)
committerChema Alonso Josa <nimiux@gentoo.org>
Fri, 30 Jun 2017 07:32:38 +0000 (09:32 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-libs/ffcall/ffcall-1.13.ebuild

index e2514f4f1ea6f8442668b6cf7fe56c2fc17aef6c..067088c3b005ef59cd5181089d0ff4e631564689 100644 (file)
@@ -39,17 +39,12 @@ src_prepare() {
                # and -Wa, are a must to pass here.
                sed -e 's/$(CC) /&$(CFLAGS) /g' \
                        -i "${mfi}" || die
-
-               # usually uses '$(CC) ... -o something' for linking
-               sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \
-                       -i "${mfi}" || die
        done
        eapply_user
 }
 
 src_configure() {
        append-flags -fPIC
-       append-flags $(test-flags-CC -Wa,--noexecstack) #253963
 
        # Doc goes in datadir
        econf \
@@ -58,16 +53,6 @@ src_configure() {
                --disable-static
 }
 
-src_compile() {
-       # Because CHOST is set to (for example)
-       # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which
-       # doesn't work in the Makefile (29 Jan 2004 agriffis)
-       local cpu_setting
-       [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha'
-
-       emake ${cpu_setting}
-}
-
 src_install() {
        dodoc NEWS README
        dodir /usr/share/man