The following changes were made to Makefile:

* Moved to new version scheme
  * Added libgcc and libstdc++ to dependencies
This commit is contained in:
2017-02-21 18:01:00 -06:00
parent 9fa5ba2bfb
commit 278739016a

View File

@@ -8,17 +8,17 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
DEPENDS = glibc DEPENDS = glibc,libgcc,libstdc++
ARCH = x86_64 ARCH = x86_64
URL = https://gmplib.org/ URL = https://gmplib.org/
DESC = GMP is a free library for arbitrary precision arithmetic DESC = GMP is a free library for arbitrary precision arithmetic
SNAPVER = sr2 SNAPVER = 3
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
PATCHDIR := $(PWD)/SRC/patches PATCHDIR := $(PWD)/SRC/patches
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER) VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux include /usr/share/snap/Makefile.snaplinux
@@ -45,6 +45,7 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
@cd $(SRCDIR); \ @cd $(SRCDIR); \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/lib \
--enable-cxx \ --enable-cxx \
--disable-static \ --disable-static \
--build=x86_64-snap-linux-gnu \ --build=x86_64-snap-linux-gnu \