forked from Lainports/freebsd-ports
- Fix CFLAGS settings
- Fix build on sparc64 Approved by: portmgr (pav)
This commit is contained in:
parent
2a0d078cfc
commit
be3defbebc
1 changed files with 6 additions and 4 deletions
|
|
@ -21,16 +21,18 @@ USE_GMAKE= yes
|
|||
USE_RC_SUBR= ircservices
|
||||
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
CFLAGS+= -fPIC
|
||||
CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}"
|
||||
|
||||
IRCSERVICES_LANG?= EN_US
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH}=="sparc64"
|
||||
CONFIGURE_ARGS+= -ignore-cache
|
||||
CFLAGS:= ${CFLAGS:N-O*:N-pipe}
|
||||
.if ${OSVERSION} > 700042
|
||||
CFLAGS+= -fno-stack-protector
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue