Drop support for old versions of FreeBSD from unmaintained ports
Reviewed by: miwi
This commit is contained in:
@@ -27,12 +27,6 @@ PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# This port depends on nan(3) added in r174684, Sun Dec 16 21:19:28 2007 UTC.
|
||||
# There was no __FreeBSD_version bump for this change, so use the nearest one.
|
||||
.if ${OSVERSION} < 800007
|
||||
BROKEN= Does not compile on 7.x: Requires nan(3)
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^CFLAGS|#CFLAGS| ; \
|
||||
|
||||
@@ -45,10 +45,8 @@ do-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
@@ -25,11 +25,7 @@ PLIST_FILES+= bin/ifp
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
LDFLAGS+= -lusb
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
||||
@@ -35,12 +35,7 @@ CONFIGURE_ARGS+=--disable-mtpz
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
|
||||
CONFIGURE_ENV+= ac_cv_lib_openusb_openusb_init=no
|
||||
.else
|
||||
CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-lusb" LIBS="-lusb"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
||||
@@ -35,10 +35,6 @@ CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN=no
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^SHOW_DIRECTORIES/d' ${WRKSRC}/doc/Doxyfile.in
|
||||
|
||||
@@ -27,15 +27,9 @@ LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.in
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 800069
|
||||
${RM} -f ${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
@@ -22,12 +22,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.ac
|
||||
USE_AUTOTOOLS= autoconf
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
# @${RM} -f ${WRKSRC}/src/getopt*
|
||||
|
||||
@@ -20,10 +20,4 @@ MAKE_JOBS_SAFE= yes
|
||||
MAN1= dfu-util.1
|
||||
PLIST_FILES= bin/dfu-suffix bin/dfu-util
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
IGNORE= requires new USB stack in FreeBSD 8
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -45,11 +45,7 @@ CFLAGS+= -I${LOCALBASE}/include
|
||||
.else
|
||||
CFLAGS+= -DNOSTATS
|
||||
.endif
|
||||
.if ${OSVERSION} < 800045
|
||||
SMSTOOLS_DEFAULT_COMPORT?= /dev/cuad0
|
||||
.else
|
||||
SMSTOOLS_DEFAULT_COMPORT?= /dev/cuau0
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile \
|
||||
|
||||
@@ -83,10 +83,6 @@ BASH_SCRIPTS= i.spectral r.tileset
|
||||
BROKEN= Does not configure on sparc64
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 800000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-vector-v.info-main.c
|
||||
.endif
|
||||
|
||||
.if !defined (GRASS_INST_DIR)
|
||||
GRASS_INST_DIR= ${PORTNAME}-${PORTVERSION}
|
||||
.endif
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
--- vector/v.info/main.c.orig 2011-10-18 23:12:56.000000000 +0000
|
||||
+++ vector/v.info/main.c 2011-10-18 23:13:19.000000000 +0000
|
||||
@@ -17,6 +17,7 @@
|
||||
**************************************************************/
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <sys/types.h>
|
||||
#include <grass/gis.h>
|
||||
#include <grass/Vect.h>
|
||||
#include <grass/dbmi.h>
|
||||
@@ -41,9 +41,7 @@ PORTDOCS= protocol.txt threads.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800000
|
||||
CFLAGS+= -fstack-protector
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MREPCACHED}
|
||||
# WWW: http://repcached.lab.klab.org/
|
||||
|
||||
@@ -29,10 +29,4 @@ USE_PHP= yes
|
||||
DEFAULT_PHP_VER=52
|
||||
USE_PHPEXT= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 700000
|
||||
BROKEN= does not configure on 6.X
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -80,11 +80,6 @@ post-patch:
|
||||
's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-ldl||' ${L7Z_WRKSRC}/Test7Zip/Makefile.in
|
||||
.if ${OSVERSION} < 800501
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|const struct dirent|struct dirent|' \
|
||||
${L7Z_WRKSRC}/Lib7Zip/OSFunctions_UnixLike.cpp
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@cd ${L7Z_WRKSRC} && ./configure --disable-shared \
|
||||
|
||||
@@ -28,10 +28,6 @@ MAN1= dsss.1 rebuild.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} <= 701000
|
||||
MANUAL_PACKAGE_BUILD= hangs on pointyhat
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 900027
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
@@ -54,10 +54,6 @@ MAN3= _U_dyn_cancel.3 \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 701100 || (${OSVERSION} > 800000 && ${OSVERSION} < 800053)
|
||||
IGNORE= your FreeBSD version is not supported
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == i386
|
||||
PLIST_SUB= ARCH=x86
|
||||
.elif ${ARCH} == amd64
|
||||
|
||||
@@ -30,9 +30,7 @@ MAKE_ENV= WITHOUT_DEBUG=yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800064
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
.if !exists(${SRC_BASE}/sys/Makefile)
|
||||
IGNORE= requires kernel source files
|
||||
|
||||
@@ -23,9 +23,7 @@ USE_PERL5_BUILD=true
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800000
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
# This port only works on i386 right now.
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@@ -45,10 +45,6 @@ PLIST_SUB+= KDE4="@comment "
|
||||
BROKEN= Does not compile on sparc64
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/man/s|^|#| ; \
|
||||
|
||||
@@ -56,10 +56,6 @@ MAKE_ARGS= -i --no-rosdep --status-rate=0 --disable-logging
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${CP} ${_DISTDIR}/nxt_description.parts.tar.gz ${WRKSRC}/nxt_description/meshes/nxt_description.tar.gz
|
||||
${MKDIR} ${WRKSRC}/nxt_python/build
|
||||
|
||||
@@ -39,11 +39,7 @@ CONFIGURE_ARGS+= --enable-jedec
|
||||
|
||||
.if ${PORT_OPTIONS:MUSB}
|
||||
CONFIGURE_ARGS+= --with-libusb
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-usb
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFTDI}
|
||||
|
||||
@@ -69,10 +69,6 @@ PLIST_SUB+= SDL="@comment "
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 740000 && ${ARCH} == "amd64"
|
||||
BROKEN= segfaults during build
|
||||
.endif
|
||||
|
||||
test check:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} ${MAKE_ARGS} check)
|
||||
|
||||
@@ -42,13 +42,7 @@ DYNAMIPS_ARCH= "amd64"
|
||||
DYNAMIPS_ARCH= "nojit"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 700021
|
||||
BUILD_DEPENDS+= libpcap>=0.9.4:${PORTSDIR}/net/libpcap
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 700013
|
||||
MAKE_ENV+= HAS_POSIX_MEMALIGN=1
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
@@ -28,10 +28,6 @@ MAKE_JOBS_SAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800024
|
||||
CFLAGS+= -Dsqrtl=sqrt
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && ${PERL} admin/am_edit
|
||||
|
||||
|
||||
@@ -22,17 +22,8 @@ PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= USB
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
. if ${PORT_OPTIONS:MUSB}
|
||||
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
|
||||
. else
|
||||
MAKE_ENV+= WITHOUT_USB=YES
|
||||
. endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
|
||||
|
||||
@@ -54,10 +54,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MUSB}
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-libusb
|
||||
.endif
|
||||
|
||||
|
||||
@@ -35,11 +35,6 @@ PLIST_FILES= bin/sviewgl
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,-O2,${CFLAGS}, ; s,/usr/include,${LOCALBASE}/include,g ; \
|
||||
s,=-s,=-L${LOCALBASE}/lib,' ${WRKSRC}/Makefile
|
||||
.if ${OSVERSION} < 800501
|
||||
@${REINPLACE_CMD} -e 's,const struct dirent,struct dirent,' \
|
||||
${WRKSRC}/src/fileslist.*
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${PREFIX}/bin
|
||||
|
||||
|
||||
@@ -46,10 +46,6 @@ RESTRICTED= Commercial license
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800000
|
||||
EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
||||
.endif
|
||||
|
||||
APP_HOME!= ${MAKE} -C ${PORTSDIR}/www/tomcat6 -VAPP_HOME
|
||||
|
||||
CNFLSTS= account/admin.ndt \
|
||||
|
||||
@@ -43,10 +43,6 @@ GDBM_DESC= Enable GDBM support
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} <= 701000
|
||||
MANUAL_PACKAGE_BUILD= hangs on pointyhat
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile on sparc64
|
||||
.endif
|
||||
|
||||
@@ -62,17 +62,13 @@ PLIST_SUB+= SPARC64="@comment "
|
||||
|
||||
do-install:
|
||||
@${MKDIR} -m 0755 ${TARGET_DIR}
|
||||
.if ${OSVERSION} >= 800105
|
||||
${RM} -f ${WRKSRC}/libpthread.so.1
|
||||
(cd ${TARGET_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
|
||||
.endif
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
|
||||
.if ${ARCH} == amd64
|
||||
@${MKDIR} ${TARGET32_DIR}
|
||||
. if ${OSVERSION} >= 800105
|
||||
${RM} -f ${WRKSRC}/lib32/libpthread.so.1
|
||||
(cd ${TARGET32_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
|
||||
. endif
|
||||
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
|
||||
.endif
|
||||
|
||||
|
||||
@@ -24,10 +24,6 @@ USE_LDCONFIG= ${TARGET_DIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 700043
|
||||
IGNORE= is for FreeBSD 7.x and newer
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not install on sparc64: fails to link lib/compat/libpthread.so.2
|
||||
.endif
|
||||
@@ -39,17 +35,13 @@ USE_LDCONFIG32= ${TARGET32_DIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} -m 755 ${TARGET_DIR}
|
||||
.if ${OSVERSION} >= 800105
|
||||
${RM} -f ${WRKSRC}/lib/libpthread.so.2
|
||||
(cd ${TARGET_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
|
||||
.endif
|
||||
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
|
||||
.if ${ARCH} == amd64
|
||||
@${MKDIR} ${TARGET32_DIR}
|
||||
. if ${OSVERSION} >= 800105
|
||||
${RM} -f ${WRKSRC}/lib32/libpthread.so.2
|
||||
(cd ${TARGET32_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
|
||||
. endif
|
||||
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
|
||||
.endif
|
||||
|
||||
|
||||
@@ -25,14 +25,8 @@ PLIST_FILES= bin/gplink
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
USB_CFLAGS= `libusb-config --cflags`
|
||||
USB_LDFLAGS= `libusb-config --libs`
|
||||
.else
|
||||
USB_CFLAGS= # none
|
||||
USB_LDFLAGS= -lusb
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gplink ${PREFIX}/bin
|
||||
|
||||
@@ -36,10 +36,6 @@ USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's|pylibdir in.*|pylibdir in "${LOCALBASE}/lib" \\|g' \
|
||||
|
||||
@@ -36,11 +36,6 @@ CONFIGURE_ARGS+= --disable-libpng
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} && ${ARCH} == i386 && ${OSVERSION} < 700000
|
||||
# Build fails on FreeBSD-6.3 i386 with optimized cflags with gcc 3.4
|
||||
USE_GCC= 4.2+
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
||||
@@ -26,9 +26,7 @@ ALL_TARGET= depend all
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800000
|
||||
BROKEN= does not compile on 8.X
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
|
||||
|
||||
@@ -29,10 +29,4 @@ RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g} \
|
||||
USE_PYTHON= 2.5+
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800000
|
||||
BROKEN= does not configure
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -202,9 +202,6 @@ PLIST_SUB+= ${opt}="@comment "
|
||||
.endfor
|
||||
|
||||
.if ${PORT_OPTIONS:MMODFREETDM}
|
||||
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
|
||||
IGNORE= sorry you can not use mod_freetdm on this version of freebsd ( dahdi support broken ) please update
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-libpri=${LOCALBASE}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
|
||||
LIB_DEPENDS+= pri:${PORTSDIR}/misc/libpri
|
||||
@@ -256,13 +253,6 @@ LIB_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc
|
||||
RUN_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc
|
||||
.endif
|
||||
|
||||
# FreeBSD 7 doesn't have lrintl, but lrint will do the trick just fine
|
||||
# It's quite cryptic as to why the reinplace doesn't work; there's no mention
|
||||
# of lrintl anywhere in any source....
|
||||
.if ${OSVERSION} < 800012
|
||||
BROKEN= Requires lrintl, which is not present on FreeBSD 7
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/build/getlib.sh.in
|
||||
@${REINPLACE_CMD} -e 's|2.1.9|2.1.11|g' ${WRKSRC}/src/mod/event_handlers/mod_event_zmq/Makefile
|
||||
|
||||
@@ -188,9 +188,6 @@ PLIST_SUB+= WITH_${i}=""
|
||||
.if ! ${PORT_OPTIONS:MMODFREETDM}
|
||||
PLIST_SUB+= WITH_MODFREETDM="@comment "
|
||||
.else
|
||||
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
|
||||
IGNORE= sorry you can not use mod_freetdm on this version of freebsd ( dahdi support broken ) please update
|
||||
.endif
|
||||
PLIST_SUB+= WITH_MODFREETDM=""
|
||||
CONFIGURE_ARGS+= --with-libpri=${LOCALBASE}
|
||||
BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \
|
||||
@@ -261,15 +258,6 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa \
|
||||
${LOCALBASE}/lib/ladspa/autotalent.so:${PORTSDIR}/audio/autotalent
|
||||
.endif
|
||||
|
||||
# FreeBSD 7 doesn't have lrintl, but lrint will do the trick just fine
|
||||
# It's quite cryptic as to why the reinplace doesn't work; there's no mention
|
||||
# of lrintl anywhere in any source....
|
||||
.if ${OSVERSION} < 800012
|
||||
# ${REINPLACE_CMD} -e 's/lrintl/lrint/' \
|
||||
# ${WRKSRC}/libs/spandsp/src/spandsp/saturated.h
|
||||
BROKEN= Requires lrintl, which is not present on FreeBSD 7
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.for file in ${DISTFILES:M*\:[23]:C/\:[23]//}
|
||||
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${file} ${WRKSRC}/libs/
|
||||
|
||||
@@ -45,14 +45,9 @@ CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
||||
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800074
|
||||
DO_NOT_COMPILE+= kppp
|
||||
PLIST_SUB+= KPPP="@comment "
|
||||
KPPP=
|
||||
.else
|
||||
KPPP= kppp
|
||||
PLIST_SUB+= KPPP=""
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 900004
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-find_user.cpp
|
||||
|
||||
@@ -23,9 +23,7 @@ PORTDOCS= pimd-dense.html README CHANGES RELEASE.NOTES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800070
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-defs.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/etc/pimd.conf|${PREFIX}/etc/pimd.conf|g' ${WRKSRC}/pathnames.h
|
||||
|
||||
@@ -31,9 +31,7 @@ USE_BZIP2= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800064
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC}
|
||||
|
||||
@@ -27,9 +27,7 @@ post-extract:
|
||||
@${CP} ${FILESDIR}/Makefile.unshlight ${WRKDIR}/unshlight/Makefile
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 800100
|
||||
${REINPLACE_CMD} -e "s,#.*include <nfs/rpcv2.h>,," ${WRKSRC}/nfs/syscalls.c
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
cd ${WRKDIR}/unshlight && make
|
||||
|
||||
@@ -27,12 +27,8 @@ OPENSYNC_DESC= Build the OpenSync plugin
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
CONFIGURE_ENV+= LIBUSB_LIBS="-lusb" LIBUSB_CFLAGS="-I/usr/include"
|
||||
BROKEN= does not configure
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
LIB_DEPENDS+= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
|
||||
|
||||
@@ -42,9 +42,7 @@ UNIFONT_DESC= Install pan-unicode font
|
||||
BINMODE?= 4555
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 800504
|
||||
ONLY_FOR_ARCHS+=amd64
|
||||
.endif
|
||||
|
||||
.if !defined(INSTALL_AS_USER)
|
||||
TERMCAP_FILE?= /usr/share/misc/termcap
|
||||
|
||||
@@ -93,11 +93,7 @@ PLIST_SUB+= NUT_SERIAL="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MUSB}
|
||||
. if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
. else
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-m4_nut_check_libusb.m4
|
||||
. endif
|
||||
CONFIGURE_ARGS+= --with-usb=auto
|
||||
MAN8+= bcmxcp_usb.8 megatec_usb.8 tripplite_usb.8 usbhid-ups.8
|
||||
PLIST_SUB+= NUT_USB=""
|
||||
|
||||
@@ -35,7 +35,7 @@ PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64" && ${OSVERSION} > 800000
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile on sparc64-8: duplicate definition of strlen
|
||||
.endif
|
||||
|
||||
|
||||
@@ -36,9 +36,7 @@ MAKE_ARGS+= INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${LOCALBASE}/include
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if (${OSVERSION} >= 800501)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Modules-SharedSource-OVCINInfo.cpp
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOVIMArray}
|
||||
PLIST_SUB+= OVIMArray=""
|
||||
|
||||
@@ -56,14 +56,7 @@ UWACOMKLD_DESC= Install USB kernel module (not supported on 8.x)
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800064
|
||||
OPTIONS_DEFAULT= UWACOMKLD
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MUWACOMKLD}
|
||||
.if ${OSVERSION} >= 800064
|
||||
BROKEN= does not build with USB support
|
||||
.endif
|
||||
PLIST_SUB+= UWACOMKLD="uwacom.ko"
|
||||
PORTTYPE= usb
|
||||
.else
|
||||
|
||||
@@ -25,9 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800064
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread||g ; \
|
||||
|
||||
@@ -31,11 +31,6 @@ INOTIFY_DESC?= Enable inotify support
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} < 800501) || \
|
||||
((${OSVERSION} >= 900000) && (${OSVERSION} < 900006))
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-compiz.cpp
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MINOTIFY}
|
||||
LIB_DEPENDS+= inotify.0:${PORTSDIR}/devel/libinotify
|
||||
LDFLAGS+= -linotify
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- src/compiz.cpp.orig 2009-03-04 21:22:22.000000000 -0600
|
||||
+++ src/compiz.cpp 2009-04-06 01:58:35.000000000 -0500
|
||||
@@ -957,7 +957,7 @@
|
||||
|
||||
|
||||
static int
|
||||
-pluginNameFilter (const struct dirent *name)
|
||||
+pluginNameFilter (struct dirent *name)
|
||||
{
|
||||
int length = strlen (name->d_name);
|
||||
|
||||
@@ -972,7 +972,7 @@
|
||||
}
|
||||
|
||||
static int
|
||||
-pluginXMLFilter (const struct dirent *name)
|
||||
+pluginXMLFilter (struct dirent *name)
|
||||
{
|
||||
int length = strlen (name->d_name);
|
||||
|
||||
@@ -56,11 +56,7 @@ HTDIG_DESC= Use htdig to build manual indices
|
||||
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800069
|
||||
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
|
||||
.else
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-libusb20
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MARTSWRAPPER}
|
||||
RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper
|
||||
|
||||
@@ -91,14 +91,6 @@ CONFLICTS_BUILD= openssl-1.*
|
||||
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
||||
.endif # !exists(/usr/bin/bzip2)
|
||||
|
||||
.if ${OSVERSION} < 800000
|
||||
.if !defined(WITHOUT_CUPS)
|
||||
BROKEN= does not build fully (cups) on FreeBSD 7.X
|
||||
.else
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/kdeprint/cups/kmcupsmanager.cpp
|
||||
${REINPLACE_CMD} -e "s,ac_cups_share_test=.*,ac_cups_share_test=,g" \
|
||||
|
||||
Reference in New Issue
Block a user