aboutsummaryrefslogtreecommitdiffstats
path: root/databases/hiredis
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-09-20 03:23:16 +0800
committercrees <crees@FreeBSD.org>2012-09-20 03:23:16 +0800
commit79a201c6f0ab7be6339f9f175b0ec5bca06eb015 (patch)
tree936aa8c2cfcc6723f8c58f0cdab5aec45c2d612d /databases/hiredis
parent1676670e4c2b617e7a1fa9e544a59502b7474634 (diff)
downloadfreebsd-ports-gnome-79a201c6f0ab7be6339f9f175b0ec5bca06eb015.tar.gz
freebsd-ports-gnome-79a201c6f0ab7be6339f9f175b0ec5bca06eb015.tar.zst
freebsd-ports-gnome-79a201c6f0ab7be6339f9f175b0ec5bca06eb015.zip
Redefining ARCH is not such a good idea
Diffstat (limited to 'databases/hiredis')
-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>