aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/anope/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/irc/anope/Makefile b/irc/anope/Makefile
index 032c84fc8bc9..a6cbb3063936 100644
--- a/irc/anope/Makefile
+++ b/irc/anope/Makefile
@@ -17,6 +17,8 @@ CXXFLAGS+= "-I${LOCALBASE}/include"
LDFLAGS+= "-L${LOCALBASE}/lib"
SHEBANG_FILES= ${WRKSRC}/src/tools/*.sh
+CFLAGS_amd64= -fPIC
+
USE_GITHUB= yes
USE_RC_SUBR= anope
@@ -54,11 +56,6 @@ TRE_LIB_DEPENDS= libtre.so:textproc/libtre
.include <bsd.port.pre.mk>
-# XXX Add here other arch which needs -fPIC :-)
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-CFLAGS+= -fPIC
-.endif
-
post-patch:
.if ${PORT_OPTIONS:MGNUTLS}
${LN} -s ${WRKSRC}/modules/extra/m_ssl_gnutls.cpp ${WRKSRC}/modules/