diff options
author | Felix Neumärker | 2019-08-02 16:13:53 +0200 |
---|---|---|
committer | Felix Neumärker | 2019-08-02 16:14:32 +0200 |
commit | dfbd0dd3f0a1a47f272bca31a9d5b517c2291765 (patch) | |
tree | 7a6ee18945aa5cc5ef64fd4e10abab6b7f19ff6e | |
parent | 9c274272ef224e8d1ac3308f52606203794ad193 (diff) | |
download | aur-dfbd0dd3f0a1a47f272bca31a9d5b517c2291765.tar.gz |
add lib-makefile.in.patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | lib-makefile.in.patch | 13 |
3 files changed, 21 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = env-modules pkgdesc = Provides for an easy dynamic modification of a user's environment via modulefile. pkgver = 4.3.0 - pkgrel = 0 + pkgrel = 1 url = https://sourceforge.net/projects/modules/ install = env-modules.install arch = i686 @@ -14,8 +14,10 @@ pkgbase = env-modules backup = etc/modules/init/modulerc source = https://sourceforge.net/projects/modules/files/Modules/modules-4.3.0/modules-4.3.0.tar.gz source = moduleshome.patch + source = lib-makefile.in.patch md5sums = bc45aff23db73a38f635d3311c61ce16 md5sums = 7e6bf66733845eb3705a0a19c029eed6 + md5sums = 6be36c0076bde45c0cc856b742ff701b pkgname = env-modules @@ -1,7 +1,7 @@ # Maintainer: snafu pkgname=(env-modules) pkgver=4.3.0 -pkgrel=0 +pkgrel=1 epoch= pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile." arch=('i686' 'x86_64') @@ -18,11 +18,12 @@ replaces=(env-modules) options=() install=env-modules.install changelog= -source=("https://sourceforge.net/projects/modules/files/Modules/modules-$pkgver/modules-$pkgver.tar.gz" moduleshome.patch) +source=("https://sourceforge.net/projects/modules/files/Modules/modules-$pkgver/modules-$pkgver.tar.gz" moduleshome.patch lib-makefile.in.patch) noextract=() validpgpkeys=() md5sums=('bc45aff23db73a38f635d3311c61ce16' - '7e6bf66733845eb3705a0a19c029eed6') + '7e6bf66733845eb3705a0a19c029eed6' + '6be36c0076bde45c0cc856b742ff701b') # Install locations: install_prefix=/usr @@ -37,6 +38,7 @@ prepare() { cd "modules-$pkgver" patch -p1 < ../moduleshome.patch + patch -p1 < ../lib-makefile.in.patch } build() { diff --git a/lib-makefile.in.patch b/lib-makefile.in.patch new file mode 100644 index 000000000000..a0ed74b9b5b0 --- /dev/null +++ b/lib-makefile.in.patch @@ -0,0 +1,13 @@ +diff --git a/lib/Makefile.in b/lib/Makefile.in +index 843e178..8e77ec7 100644 +--- a/lib/Makefile.in ++++ b/lib/Makefile.in +@@ -4,7 +4,7 @@ + CFLAGS_WARNING=@CFLAGS_WARNING@ + + CC=@TCL_CC@ +-CFLAGS=@CFLAGS@@TCL_INCLUDE_SPEC@ ++CFLAGS=@CFLAGS@ @TCL_INCLUDE_SPEC@ + # apply specific flags if code coverage asked + ifeq ($(COVERAGE),y) + CFLAGS += -coverage -O0 |