mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Fix build on FreeBSD 10.
Approved by: portmgr (miwi)
This commit is contained in:
parent
5add92b0b1
commit
8e3f371244
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284617
@ -1,11 +1,22 @@
|
||||
--- configure.orig 2009-07-16 17:11:17.000000000 +0400
|
||||
+++ configure 2009-11-26 15:46:43.000000000 +0300
|
||||
@@ -13077,6 +13077,8 @@
|
||||
*-*-freebsd5*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";;
|
||||
*-*-freebsd6*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";;
|
||||
*-*-freebsd7*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";;
|
||||
+ *-*-freebsd8*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";;
|
||||
+ *-*-freebsd9*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";;
|
||||
--- configure.orig 2009-07-16 15:11:17.000000000 +0200
|
||||
+++ configure 2011-10-29 11:13:25.000000000 +0200
|
||||
@@ -13072,11 +13072,14 @@
|
||||
*-*-irix*) plat_name="IRIX"; plat_def="__irix__"; os_v="6";;
|
||||
*-*-aix*) plat_name="AIX"; plat_def="__aix__"; os_v="4";;
|
||||
*-*-darwin*) plat_name="Darwin"; plat_def="__darwin__"; os_v="1";;
|
||||
- *-*-freebsd3*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";;
|
||||
- *-*-freebsd4*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";;
|
||||
- *-*-freebsd5*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";;
|
||||
- *-*-freebsd6*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";;
|
||||
- *-*-freebsd7*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";;
|
||||
+ *-*-freebsd3.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";;
|
||||
+ *-*-freebsd4.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";;
|
||||
+ *-*-freebsd5.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";;
|
||||
+ *-*-freebsd6.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";;
|
||||
+ *-*-freebsd7.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";;
|
||||
+ *-*-freebsd8.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";;
|
||||
+ *-*-freebsd9.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";;
|
||||
+ *-*-freebsd10.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="10";;
|
||||
*-*-kfreebsd*) plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";;
|
||||
*-*-netbsd*) plat_name="NetBSD"; plat_def="__netbsd__"; os_v="1";;
|
||||
*-*-openbsd*) plat_name="OpenBSD"; plat_def="__openbsd__"; os_v="3";;
|
||||
|
@ -23,6 +23,7 @@ OPTIONS= CONFIG_INFO "Add the ares_config_info patch" ON \
|
||||
CONFLICTS= ares-1.*
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
WITH_FBSD10_FIX= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -19,6 +19,7 @@ COMMENT?= Minimalistic plugin API for video effects
|
||||
|
||||
.if !defined(BUILDING_FREI0R_METAPORT)
|
||||
GNU_CONFIGURE= yes
|
||||
WITH_FBSD10_FIX=yes
|
||||
USE_GNOME= gnomehack pkgconfig
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
@ -106,6 +107,10 @@ do-install:
|
||||
. endfor
|
||||
.endif #!defined(FREI0R_PLUGINS)
|
||||
|
||||
pre-build:
|
||||
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
|
||||
${WRKSRC}/configure ${WRKSRC}/config.h.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
.endif # !defined(BUILDING_FREI0R_METAPORT)
|
||||
|
@ -15,6 +15,7 @@ MAINTAINER?= onatan@gmail.com
|
||||
COMMENT= A simple interface to low level networking routines
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WITH_FBSD10_FIX=yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
.if !defined(LIBDNET_SLAVE)
|
||||
|
Loading…
Reference in New Issue
Block a user