diff options
author | Grzegorz Blach <gblach@FreeBSD.org> | 2015-03-13 20:49:10 +0000 |
---|---|---|
committer | Grzegorz Blach <gblach@FreeBSD.org> | 2015-03-13 20:49:10 +0000 |
commit | 770db66591d87a3dbdbb8a0fd6f77d777c3548b0 (patch) | |
tree | 64ac1c5e245f462001a266dcc875d4107ed8bd17 | |
parent | - update to 5.46 (diff) |
Fix pkgconf file
PR: 198513
Obtained from: github.com/redis/hiredis
-rw-r--r-- | databases/hiredis/Makefile | 1 | ||||
-rw-r--r-- | databases/hiredis/files/patch-Makefile | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/databases/hiredis/Makefile b/databases/hiredis/Makefile index ed31c8e85e76..b1bfedd56467 100644 --- a/databases/hiredis/Makefile +++ b/databases/hiredis/Makefile @@ -3,6 +3,7 @@ PORTNAME= hiredis PORTVERSION= 0.12.1 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= gblach@FreeBSD.org diff --git a/databases/hiredis/files/patch-Makefile b/databases/hiredis/files/patch-Makefile new file mode 100644 index 000000000000..0c4ef069269a --- /dev/null +++ b/databases/hiredis/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig ++++ Makefile +@@ -157,8 +157,8 @@ $(PKGCONFNAME): hiredis.h + @echo Name: hiredis >> $@ + @echo Description: Minimalistic C client library for Redis. >> $@ + @echo Version: $(HIREDIS_MAJOR).$(HIREDIS_MINOR).$(HIREDIS_PATCH) >> $@ +- @echo Libs: -L$${libdir} -lhiredis >> $@ +- @echo Cflags: -I$${includedir} -D_FILE_OFFSET_BITS=64 >> $@ ++ @echo Libs: -L\$${libdir} -lhiredis >> $@ ++ @echo Cflags: -I\$${includedir} -D_FILE_OFFSET_BITS=64 >> $@ + + install: $(DYLIBNAME) $(STLIBNAME) + mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH) |