aboutsummaryrefslogtreecommitdiffstats
path: root/irc/anope/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2017-06-25 08:29:09 +0800
committerMark Linimon <linimon@FreeBSD.org>2017-06-25 08:29:09 +0800
commit45cb752a04894d48090981be1a7d2f549f2b684f (patch)
treeec081b06d4ac1171d90c17f7c227c9b2007dc591 /irc/anope/Makefile
parent5b72408838c185b3a8f6d14cd522ed27f7fd4ed2 (diff)
downloadfreebsd-ports-gnome-45cb752a04894d48090981be1a7d2f549f2b684f.tar.gz
freebsd-ports-gnome-45cb752a04894d48090981be1a7d2f549f2b684f.tar.zst
freebsd-ports-gnome-45cb752a04894d48090981be1a7d2f549f2b684f.zip
Begin deorbit burn of ia64. We have not attempted to build packages for
it for many years. While here, alphabetize ARCHs, pet portlint, and modernize usages. Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'irc/anope/Makefile')
-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/