mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Remove always-false/true conditions based on OSVERSION 500000
This commit is contained in:
parent
fa9509791f
commit
2f5fd33d0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200777
@ -62,10 +62,6 @@ PLIST_SUB+= BOINC_GUI=""
|
||||
PLIST_SUB+= BOINC_GUI="@comment "
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile. Consider upgrading your FreeBSD to at least 5.X
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gui_rpc_auth.cfg|${BOINC_HOME}/gui_rpc_auth.cfg|g' \
|
||||
${WRKSRC}/client/file_names.h ${WRKSRC}/lib/boinc_cmd.C \
|
||||
|
@ -96,12 +96,6 @@ CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \
|
||||
--without-rlm_sql_sybase \
|
||||
--without-rlm_sql_unixodbc
|
||||
|
||||
.if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr"
|
||||
PLIST_SUB+= 4SSL="@comment "
|
||||
.else
|
||||
PLIST_SUB+= 4SSL=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_ARGS+= --with-pic
|
||||
.endif
|
||||
@ -197,7 +191,7 @@ USE_PERL5= yes
|
||||
.endif
|
||||
|
||||
# rlm_perl does not build on 4.x
|
||||
.if ${OSVERSION} < 500000 || defined(WITH_NOPERL)
|
||||
.if defined(WITH_NOPERL)
|
||||
CONFIGURE_ARGS+=--without-rlm_perl
|
||||
PLIST_SUB+= RLMPERL="@comment "
|
||||
.else
|
||||
@ -226,9 +220,6 @@ post-patch:
|
||||
${REINPLACE_CMD} -e "s:\$$(R)\$$(raddbdir):${EXAMPLESDIR}/raddb:g" {} \;
|
||||
# Clean up after the last operation (so as not to get unwanted files when installing doc/)
|
||||
@${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?\.(orig|bak)$$' -delete
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's/-DNO_OPENSSL//' ${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
# Force the rebuild of some configures from configure.in, as we're patching
|
||||
|
@ -156,26 +156,26 @@ lib/rlm_eap_mschapv2-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_mschapv2.a
|
||||
lib/rlm_eap_mschapv2.la
|
||||
lib/rlm_eap_mschapv2.so
|
||||
%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_peap.a
|
||||
%%4SSL%%lib/rlm_eap_peap.la
|
||||
%%4SSL%%lib/rlm_eap_peap.so
|
||||
lib/rlm_eap_peap-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_peap-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_peap.a
|
||||
lib/rlm_eap_peap.la
|
||||
lib/rlm_eap_peap.so
|
||||
lib/rlm_eap_sim-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_sim-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_sim.a
|
||||
lib/rlm_eap_sim.la
|
||||
lib/rlm_eap_sim.so
|
||||
%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_tls.a
|
||||
%%4SSL%%lib/rlm_eap_tls.la
|
||||
%%4SSL%%lib/rlm_eap_tls.so
|
||||
%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_ttls.a
|
||||
%%4SSL%%lib/rlm_eap_ttls.la
|
||||
%%4SSL%%lib/rlm_eap_ttls.so
|
||||
lib/rlm_eap_tls-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_tls-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_tls.a
|
||||
lib/rlm_eap_tls.la
|
||||
lib/rlm_eap_tls.so
|
||||
lib/rlm_eap_ttls-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_ttls-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_ttls.a
|
||||
lib/rlm_eap_ttls.la
|
||||
lib/rlm_eap_ttls.so
|
||||
%%EXPM%%lib/rlm_example-%%PORTVERSION%%.la
|
||||
%%EXPM%%lib/rlm_example-%%PORTVERSION%%.so
|
||||
%%EXPM%%lib/rlm_example.a
|
||||
@ -226,11 +226,11 @@ lib/rlm_ns_mta_md5-%%PORTVERSION%%.so
|
||||
lib/rlm_ns_mta_md5.a
|
||||
lib/rlm_ns_mta_md5.la
|
||||
lib/rlm_ns_mta_md5.so
|
||||
%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_otp.a
|
||||
%%4SSL%%lib/rlm_otp.la
|
||||
%%4SSL%%lib/rlm_otp.so
|
||||
lib/rlm_otp-%%PORTVERSION%%.la
|
||||
lib/rlm_otp-%%PORTVERSION%%.so
|
||||
lib/rlm_otp.a
|
||||
lib/rlm_otp.la
|
||||
lib/rlm_otp.so
|
||||
lib/rlm_pam-%%PORTVERSION%%.la
|
||||
lib/rlm_pam-%%PORTVERSION%%.so
|
||||
lib/rlm_pam.a
|
||||
|
@ -96,12 +96,6 @@ CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \
|
||||
--without-rlm_sql_sybase \
|
||||
--without-rlm_sql_unixodbc
|
||||
|
||||
.if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr"
|
||||
PLIST_SUB+= 4SSL="@comment "
|
||||
.else
|
||||
PLIST_SUB+= 4SSL=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_ARGS+= --with-pic
|
||||
.endif
|
||||
@ -197,7 +191,7 @@ USE_PERL5= yes
|
||||
.endif
|
||||
|
||||
# rlm_perl does not build on 4.x
|
||||
.if ${OSVERSION} < 500000 || defined(WITH_NOPERL)
|
||||
.if defined(WITH_NOPERL)
|
||||
CONFIGURE_ARGS+=--without-rlm_perl
|
||||
PLIST_SUB+= RLMPERL="@comment "
|
||||
.else
|
||||
@ -226,9 +220,6 @@ post-patch:
|
||||
${REINPLACE_CMD} -e "s:\$$(R)\$$(raddbdir):${EXAMPLESDIR}/raddb:g" {} \;
|
||||
# Clean up after the last operation (so as not to get unwanted files when installing doc/)
|
||||
@${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?\.(orig|bak)$$' -delete
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's/-DNO_OPENSSL//' ${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
# Force the rebuild of some configures from configure.in, as we're patching
|
||||
|
@ -156,26 +156,26 @@ lib/rlm_eap_mschapv2-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_mschapv2.a
|
||||
lib/rlm_eap_mschapv2.la
|
||||
lib/rlm_eap_mschapv2.so
|
||||
%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_peap.a
|
||||
%%4SSL%%lib/rlm_eap_peap.la
|
||||
%%4SSL%%lib/rlm_eap_peap.so
|
||||
lib/rlm_eap_peap-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_peap-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_peap.a
|
||||
lib/rlm_eap_peap.la
|
||||
lib/rlm_eap_peap.so
|
||||
lib/rlm_eap_sim-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_sim-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_sim.a
|
||||
lib/rlm_eap_sim.la
|
||||
lib/rlm_eap_sim.so
|
||||
%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_tls.a
|
||||
%%4SSL%%lib/rlm_eap_tls.la
|
||||
%%4SSL%%lib/rlm_eap_tls.so
|
||||
%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_eap_ttls.a
|
||||
%%4SSL%%lib/rlm_eap_ttls.la
|
||||
%%4SSL%%lib/rlm_eap_ttls.so
|
||||
lib/rlm_eap_tls-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_tls-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_tls.a
|
||||
lib/rlm_eap_tls.la
|
||||
lib/rlm_eap_tls.so
|
||||
lib/rlm_eap_ttls-%%PORTVERSION%%.la
|
||||
lib/rlm_eap_ttls-%%PORTVERSION%%.so
|
||||
lib/rlm_eap_ttls.a
|
||||
lib/rlm_eap_ttls.la
|
||||
lib/rlm_eap_ttls.so
|
||||
%%EXPM%%lib/rlm_example-%%PORTVERSION%%.la
|
||||
%%EXPM%%lib/rlm_example-%%PORTVERSION%%.so
|
||||
%%EXPM%%lib/rlm_example.a
|
||||
@ -226,11 +226,11 @@ lib/rlm_ns_mta_md5-%%PORTVERSION%%.so
|
||||
lib/rlm_ns_mta_md5.a
|
||||
lib/rlm_ns_mta_md5.la
|
||||
lib/rlm_ns_mta_md5.so
|
||||
%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.la
|
||||
%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.so
|
||||
%%4SSL%%lib/rlm_otp.a
|
||||
%%4SSL%%lib/rlm_otp.la
|
||||
%%4SSL%%lib/rlm_otp.so
|
||||
lib/rlm_otp-%%PORTVERSION%%.la
|
||||
lib/rlm_otp-%%PORTVERSION%%.so
|
||||
lib/rlm_otp.a
|
||||
lib/rlm_otp.la
|
||||
lib/rlm_otp.so
|
||||
lib/rlm_pam-%%PORTVERSION%%.la
|
||||
lib/rlm_pam-%%PORTVERSION%%.so
|
||||
lib/rlm_pam.a
|
||||
|
@ -35,9 +35,7 @@ do-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= FreeBSD 4.xx does not have pf support
|
||||
.elif ${OSVERSION} < 600000
|
||||
.if ${OSVERSION} < 600000
|
||||
IGNORE= Does not compile with old version of pf
|
||||
.endif
|
||||
|
||||
|
@ -41,9 +41,7 @@ EXAMPLESDIR= ${PREFIX}/share/examples/openh323
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not build
|
||||
.elif ${ARCH} == sparc64 && ${OSVERSION} <= 700003
|
||||
.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
|
||||
BROKEN= does not link due to missing symbol in default thread library
|
||||
.endif
|
||||
|
||||
@ -51,12 +49,10 @@ BROKEN= does not link due to missing symbol in default thread library
|
||||
CONFIGURE_ARGS+= --with-large-fdset=${WITH_FDSET}
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
. if defined(WITH_RADIUS)
|
||||
.if defined(WITH_RADIUS)
|
||||
CONFIGURE_ARGS+= --enable-radius
|
||||
. else
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-radius
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
@ -79,11 +75,9 @@ pre-everything::
|
||||
@${ECHO_MSG} "Additional build options are:"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
.if ${OSVERSION} >= 500000
|
||||
. ifndef(WITH_RADIUS)
|
||||
.ifndef(WITH_RADIUS)
|
||||
@${ECHO_MSG} "WITH_RADIUS=yes - enable Radius support"
|
||||
@${ECHO_MSG} ""
|
||||
. endif
|
||||
.endif
|
||||
.ifndef(WITH_MYSQL)
|
||||
@${ECHO_MSG} "WITH_MYSQL=yes - enable the MySQL backend"
|
||||
|
@ -35,9 +35,6 @@ OPTIONS= OPTIMIZATION "Enable optimization" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == i386 && ${OSVERSION} < 500000
|
||||
BROKEN= does not compile on i386-4
|
||||
.endif
|
||||
.if ${ARCH} == amd64 || ${ARCH} == ia64
|
||||
BROKEN= does not compile on ${ARCH}
|
||||
.endif
|
||||
|
@ -35,10 +35,6 @@ OPTIONS= OPTIMIZATION "Enable optimization" off
|
||||
CFLAGS+= -fPIC -DPIC
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Doesn't build on < 5.x
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPTIMIZATION)
|
||||
CFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT
|
||||
.endif
|
||||
|
@ -50,10 +50,4 @@ post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,12 +25,6 @@ MAN8= iscsi-target.8
|
||||
|
||||
USE_RC_SUBR= iscsi_target
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= needs PRIu64 definition in <inttypes.h>
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|_LDFLAGS= -pthread|_LDFLAGS= ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile.in
|
||||
@ -58,4 +52,4 @@ post-install:
|
||||
fi
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,10 +30,4 @@ CONFIGURE_ENV+= \
|
||||
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
|
||||
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,17 +24,13 @@ USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 500000
|
||||
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \
|
||||
${WRKSRC}/protocols/fddi/libnd_fddi.h
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \
|
||||
${WRKSRC}/docs/Makefile.in
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,10 +29,6 @@ PLIST_FILES= bin/flute
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "does not compile"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502120
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-alclib_defines.h
|
||||
.endif
|
||||
|
@ -62,12 +62,6 @@ MAN3= ph_add.3 \
|
||||
ph_whoami.3 \
|
||||
ph_www_resolve.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= doesn't compile on FreeBSD < 5.x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-recurse)
|
||||
|
||||
@ -78,4 +72,4 @@ do-install:
|
||||
post-clean:
|
||||
@${RM} -f ${PREFIX}/etc/ph_server
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -44,12 +44,6 @@ CONFIGURE_ARGS+= --enable-ipv6
|
||||
|
||||
MAN1= ntp-keygen.1 ntpd.1 ntpdc.1 ntpq.1 sntp.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Will not build under 4.X.
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR}
|
||||
@ -60,4 +54,4 @@ post-install:
|
||||
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,12 +25,6 @@ MAN1= ${PORTNAME}.1
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not work on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's|<alloca.h>|<stdlib.h>|' \
|
||||
${WRKSRC}/machmgr.c
|
||||
@ -39,4 +33,4 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,16 +22,10 @@ CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' LDFLAGS='${LDFLAGS}'
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
PLIST_FILES= bin/panoptis bin/mail.py bin/pview.py bin/speed.py
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on 4.x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/panoptis/panoptis ${PREFIX}/bin/panoptis
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/panoptis/mail.py ${PREFIX}/bin/mail.py
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/panoptis/pview.py ${PREFIX}/bin/pview.py
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/panoptis/speed.py ${PREFIX}/bin/speed.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,10 +19,4 @@ USE_GMAKE= yes
|
||||
|
||||
PLIST_FILES= bin/paris-traceroute
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on 4.x
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,10 +21,4 @@ post-patch:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/passlogd ${PREFIX}/sbin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on 4.x
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -14,14 +14,10 @@ DISTNAME= ppp-${PORTVERSION}
|
||||
MAINTAINER= netch@netch.kiev.ua
|
||||
COMMENT= PPP daemon which uses ppp line discipline
|
||||
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-no-logf
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAN8= pppd.8 pppstats.8 chat.8
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-no-logf
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -132,7 +132,7 @@ CONFIGURE_ENV+=MAKEINFO=${LOCALBASE}/bin/makeinfo
|
||||
.endif
|
||||
|
||||
USE_RC_SUBR= watchquagga.sh
|
||||
.if ${OSVERSION} < 500000 || ${OSVERSION} >= 600101
|
||||
.if ${OSVERSION} >= 600101
|
||||
USE_RC_SUBR+= quagga.sh
|
||||
.else
|
||||
USE_RCORDER= quagga.sh
|
||||
|
@ -31,12 +31,6 @@ CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
|
||||
DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not build on 4.x (missing sys/statvfs.h)
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.for i in smb2awk smb2nsmbrc
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
|
||||
@ -46,4 +40,4 @@ post-install:
|
||||
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" pkg-message > ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,11 +20,4 @@ MAN1= tcpxtract.1
|
||||
|
||||
PLIST_FILES= bin/tcpxtract etc/tcpxtract.conf
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tcpxtract.c ${PATCHDIR}/extra-patch-sessionlist.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,12 +21,6 @@ ALL_TARGET= trafshow
|
||||
|
||||
MAN1= trafshow.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
PKGMESSAGE= ${PKGDIR}/pkg-message.nodevfs
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE||' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
|
||||
@ -39,8 +33,5 @@ do-install:
|
||||
if [ ! -e ${PREFIX}/etc/trafshow ]; then \
|
||||
${CP} -p ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow; \
|
||||
fi
|
||||
.if ${OSVERSION} < 500000
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,10 +26,4 @@ PLIST_FILES= sbin/unfsd
|
||||
CONFIGURE_ARGS+= --enable-cluster
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
CFLAGS+= -DHAVE_SYS_MOUNT_H=1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,17 +23,10 @@ PLIST_FILES= bin/xboxproxy
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
||||
CONFIGURE_ARGS+= --with-pcap=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|libnet-config|${LIBNET_CONFIG}|g; \
|
||||
s|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user