Changeset View
Changeset View
Standalone View
Standalone View
net/rtg/Makefile
Show All 37 Lines | |||||
USE_MYSQL= yes | USE_MYSQL= yes | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MWEB} | .if ${PORT_OPTIONS:MWEB} | ||||
WANT_PHP_WEB= yes | WANT_PHP_WEB= yes | ||||
USE_PHP= mysqli spl | USE_PHP= mysqli spl | ||||
.endif | .endif | ||||
.include <bsd.port.pre.mk> | |||||
.if ( ${OSVERSION} >= 800040 ) | |||||
CFLAGS+= -fstack-protector | CFLAGS+= -fstack-protector | ||||
LDFLAGS+= -fstack-protector | LDFLAGS+= -fstack-protector | ||||
.endif | |||||
post-patch: | post-patch: | ||||
@${MV} ${WRKSRC}/etc/rtg.conf ${WRKSRC}/etc/rtg.conf.sample | @${MV} ${WRKSRC}/etc/rtg.conf ${WRKSRC}/etc/rtg.conf.sample | ||||
@${MV} ${WRKSRC}/etc/routers ${WRKSRC}/etc/routers.sample | @${MV} ${WRKSRC}/etc/routers ${WRKSRC}/etc/routers.sample | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |