From bcb1361ca33441e2cac5b5ef5c7f1018aa6c4a07 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 Jul 2011 17:26:08 +0200 Subject: [PATCH] libmikmod: revert PIC commit, found the real problem. --- srcpkgs/libmikmod/libmikmod-devel.template | 3 ++- srcpkgs/libmikmod/template | 17 +++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/srcpkgs/libmikmod/libmikmod-devel.template b/srcpkgs/libmikmod/libmikmod-devel.template index 0975008af4e..693fc51d3cc 100644 --- a/srcpkgs/libmikmod/libmikmod-devel.template +++ b/srcpkgs/libmikmod/libmikmod-devel.template @@ -5,9 +5,10 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." -revision=2 +revision=3 Add_dependency run glibc-devel +Add_dependency run libmikmod do_install() { diff --git a/srcpkgs/libmikmod/template b/srcpkgs/libmikmod/template index d23c28c16ad..f52cbb61ca9 100644 --- a/srcpkgs/libmikmod/template +++ b/srcpkgs/libmikmod/template @@ -1,9 +1,10 @@ # Template file for 'libmikmod' pkgname=libmikmod version=3.1.12 -revision=2 +revision=3 distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz" -build_style=custom-install +build_style=gnu_configure +configure_args="--disable-esd" short_desc="MikMod Sound Library" maintainer="Juan RP " checksum=891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32 @@ -27,15 +28,3 @@ long_desc=" subpackages="$pkgname-devel" Add_dependency run glibc Add_dependency build texinfo - -do_build() -{ - export CFLAGS="$XBPS_CFLAGS -fPIC" - ./configure --prefix=/usr --disable-esd - make ${makejobs} -} - -do_install() -{ - make DESTDIR=${DESTDIR} install -}