diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-02-06 22:03:50 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-02-06 22:03:50 +0000 |
commit | f3f135c46f972be562187e47750f3a50c13cd88c (patch) | |
tree | 81b35183281fb7e7053b8ce250ee9b14b85c91b5 /net/asterisk14/Makefile | |
parent | bb2e24aa25299a9def5e361167d5bd544b065559 (diff) |
Fix PLIST on 4.x (one of the modules can not be built due to absend va_copy()
function).
Submitted by: Dan Lukes <dan@obluda.cz>
Notes
Notes:
svn path=/head/; revision=155378
Diffstat (limited to 'net/asterisk14/Makefile')
-rw-r--r-- | net/asterisk14/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile index 16490ad85220..3d506227b582 100644 --- a/net/asterisk14/Makefile +++ b/net/asterisk14/Makefile @@ -93,6 +93,12 @@ LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp PLIST_SUB+= WITH_FAX="" .endif +.if ${OSVERSION} >= 500036 +PLIST_SUB+= NEWGCC="" +.else +PLIST_SUB+= NEWGCC="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample |