diff options
author | Sam James <sam@gentoo.org> | 2020-12-01 12:01:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-01 12:03:07 +0000 |
commit | d787436065e7c11fd52451f2b33774b7a8366457 (patch) | |
tree | 61c280f045970fe8b433d19012069bbc8f67fad4 /dev-db/qdbm/files | |
parent | net-p2p/qbittorrent: Version bump (v4.3.1) (diff) | |
download | gentoo-d787436065e7c11fd52451f2b33774b7a8366457.tar.gz gentoo-d787436065e7c11fd52451f2b33774b7a8366457.tar.bz2 gentoo-d787436065e7c11fd52451f2b33774b7a8366457.zip |
dev-db/qdbm: fix Darwin build
Package-Manager: Portage-3.0.10.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/qdbm/files')
-rw-r--r-- | dev-db/qdbm/files/qdbm-1.8.78-darwin.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-db/qdbm/files/qdbm-1.8.78-darwin.patch b/dev-db/qdbm/files/qdbm-1.8.78-darwin.patch new file mode 100644 index 000000000000..de2d33c4ea15 --- /dev/null +++ b/dev-db/qdbm/files/qdbm-1.8.78-darwin.patch @@ -0,0 +1,28 @@ +diff --git a/Makefile.in b/Makefile.in +index 2fec03a..2a1c3a3 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -52,18 +52,18 @@ DESTDIR = + # Building binaries + CC = @CC@ + CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(MYHEADDIR) \ +- -I$(HOME)/include -I/usr/local/include @MYDEFS@ \ ++ -I$(HOME)/include @MYDEFS@ \ + -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \ + -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \ + -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG +-CFLAGS = -Wall -pedantic -fPIC -fsigned-char -O3 -fomit-frame-pointer -fforce-addr @MYOPTS@ ++CFLAGS = -Wall -pedantic -fPIC -fsigned-char -fforce-addr @MYOPTS@ + LD = @LD@ + LIBS = -lqdbm @LIBS@ +-LIBLDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @LIBS@ +-LDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib $(LIBS) ++LIBLDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib @LIBS@ ++LDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib $(LIBS) + AR = @AR@ + ARFLAGS = rcsv +-RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib ++RUNENV = LD_LIBRARY_PATH=./:$(MYLIBDIR):$(HOME)/lib + + + |