aboutsummaryrefslogtreecommitdiff
path: root/databases/hiredis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/hiredis/Makefile')
-rw-r--r--databases/hiredis/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/hiredis/Makefile b/databases/hiredis/Makefile
index 867eb833a30a..3bc313977b6a 100644
--- a/databases/hiredis/Makefile
+++ b/databases/hiredis/Makefile
@@ -19,9 +19,11 @@ GH_ACCOUNT= antirez
GH_TAGNAME= v${DISTVERSION}
GH_COMMIT= 0fff0f1
-ARCH=
USE_GMAKE= yes
CFLAGS+= -fPIC
USE_LDCONFIG= yes
+post-patch:
+ @${REINPLACE_CMD} -e '/^REAL_/s/ \$$(ARCH)//' ${WRKSRC}/Makefile
+
.include <bsd.port.mk>