diff options
-rw-r--r-- | ftp/tnftpd/Makefile | 8 | ||||
-rw-r--r-- | net/ssltunnel-server/Makefile | 8 | ||||
-rw-r--r-- | net/tac_plus-libradius/Makefile | 4 | ||||
-rw-r--r-- | security/srp/Makefile | 4 | ||||
-rw-r--r-- | security/sud/Makefile | 8 | ||||
-rw-r--r-- | security/termlog/Makefile | 8 | ||||
-rw-r--r-- | shells/wapsh/Makefile | 8 | ||||
-rw-r--r-- | sysutils/su2/Makefile | 8 | ||||
-rw-r--r-- | sysutils/syslog-ng2/Makefile | 8 | ||||
-rw-r--r-- | sysutils/userinfo/Makefile | 8 | ||||
-rw-r--r-- | sysutils/uwatch/Makefile | 8 |
11 files changed, 71 insertions, 9 deletions
diff --git a/ftp/tnftpd/Makefile b/ftp/tnftpd/Makefile index b0c9a31c4d78..fc73019100e9 100644 --- a/ftp/tnftpd/Makefile +++ b/ftp/tnftpd/Makefile @@ -17,6 +17,12 @@ GNU_CONFIGURE= yes CFLAGS+= -DSUPPORT_UTMP +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + .if defined(WITH_SOCKS5) BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 CONFIGURE_ARGS+= --with-socks5 @@ -63,4 +69,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/ssltunnel-server/Makefile b/net/ssltunnel-server/Makefile index 8d26af0aaa31..8711da5f467a 100644 --- a/net/ssltunnel-server/Makefile +++ b/net/ssltunnel-server/Makefile @@ -20,6 +20,12 @@ COMMENT= PPP over SSL virtual private networking (server part) GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-client +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + .if defined(WITH_TCPWRAPPERS) CONFIGURE_ARGS+= --with-libwrap .endif @@ -33,4 +39,4 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/server/pppserver.sh ${PREFIX}/etc/rc.d/ssltunnel.sh.sample ${INSTALL_DATA} ${WRKSRC}/server/users ${PREFIX}/etc/ssltunnel/users.sample -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/tac_plus-libradius/Makefile b/net/tac_plus-libradius/Makefile index f2ec2ce1deb9..052663e78f64 100644 --- a/net/tac_plus-libradius/Makefile +++ b/net/tac_plus-libradius/Makefile @@ -25,6 +25,10 @@ MAN1= tac_plus.1 .include <bsd.port.pre.mk> +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1 diff --git a/security/srp/Makefile b/security/srp/Makefile index 75ccf6252b5f..32761a6bb9f7 100644 --- a/security/srp/Makefile +++ b/security/srp/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --with-openssl=/usr \ .include <bsd.port.pre.mk> +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + post-patch: @${GREP} -slR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib\.h|g' diff --git a/security/sud/Makefile b/security/sud/Makefile index adaefb0546d5..64153e5fbc09 100644 --- a/security/sud/Makefile +++ b/security/sud/Makefile @@ -17,6 +17,12 @@ COMMENT= Execute processes with special privileges in a nosuid environment GNU_CONFIGURE= yes MAN1= sud.1 suz.1 ilogin.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \ ${WRKSRC}/ilogin.1 ${WRKSRC}/sud.1 ${WRKSRC}/login/login.c ${WRKSRC}/sud/main.c @@ -35,4 +41,4 @@ post-install: ${CP} -p ${PREFIX}/etc/sud.conf.sample ${PREFIX}/etc/sud.conf ; \ fi -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/termlog/Makefile b/security/termlog/Makefile index 495f227d9594..9b0c64d2b8de 100644 --- a/security/termlog/Makefile +++ b/security/termlog/Makefile @@ -21,8 +21,14 @@ USE_RC_SUBR= ${PORTNAME} MAN1= termlog.1 PLIST_FILES= bin/termlog +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/termlog ${PREFIX}/bin/termlog ${INSTALL_MAN} ${WRKSRC}/termlog.1 ${MANPREFIX}/man/man1/termlog.1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile index 70660063c805..b296fb13f0ed 100644 --- a/shells/wapsh/Makefile +++ b/shells/wapsh/Makefile @@ -42,6 +42,12 @@ HTDOCS= command.php command_html.inc command_wml.inc \ login_html.php login_wml.php scroll_wml.php \ shortcuts_wml.php index.html +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + post-patch: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > ${WRKDIR}/foo && \ ${MV} ${WRKDIR}/foo ${WRKSRC}/htshd/htshd.c @@ -105,4 +111,4 @@ post-install: @(${GREP} -v ^htsh /etc/services.bak; ${ECHO_CMD} "htsh 3001/tcp # htsh/wapsh server") > /etc/services @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/su2/Makefile b/sysutils/su2/Makefile index 09b46914874d..c2d265f2821e 100644 --- a/sysutils/su2/Makefile +++ b/sysutils/su2/Makefile @@ -18,7 +18,13 @@ NO_CDROM= "Don't sell for profit" MAN1= su2.1 PLIST_FILES= bin/su2 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + post-patch: ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' ${WRKSRC}/su2.man -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/syslog-ng2/Makefile b/sysutils/syslog-ng2/Makefile index 0a2eaa526f71..d921c93286dd 100644 --- a/sysutils/syslog-ng2/Makefile +++ b/sysutils/syslog-ng2/Makefile @@ -33,6 +33,12 @@ CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \ CONFIGURE_ENV= CFLAGS="`${LIBNET_CONFIG} --cflags`" \ LDFLAGS="`${LIBNET_CONFIG} --libs`" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + .if defined(WITH_TCP_WRAPPERS) CONFIGURE_ARGS+=--enable-tcp-wrapper .endif @@ -58,4 +64,4 @@ post-install: fi @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/userinfo/Makefile b/sysutils/userinfo/Makefile index 1a2c82c66811..dba90224cbc7 100644 --- a/sysutils/userinfo/Makefile +++ b/sysutils/userinfo/Makefile @@ -19,4 +19,10 @@ GNU_CONFIGURE= yes MAN1= ui.1 MLINKS= ui.1 userinfo.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/uwatch/Makefile b/sysutils/uwatch/Makefile index caead303d391..1a595c21963f 100644 --- a/sysutils/uwatch/Makefile +++ b/sysutils/uwatch/Makefile @@ -17,4 +17,10 @@ MAN1= uwatch.1 MANCOMPRESSED= yes PLIST_FILES= bin/uwatch -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 900007 +BROKEN= fails to build with new utmpx +.endif + +.include <bsd.port.post.mk> |