View | Details | Raw Unified | Return to bug 87396
Collapse All | Expand All

(-)bsd.autotools.mk (-4 / +4 lines)
Lines 76-82 Link Here
76
#
76
#
77
.if ${USE_AUTOTOOLS_COMPAT}!=""
77
.if ${USE_AUTOTOOLS_COMPAT}!=""
78
. if defined(USE_AUTOTOOLS)
78
. if defined(USE_AUTOTOOLS)
79
BROKEN+=	"Mix and match of old and new autotools system prohibited"
79
BROKEN+=	Mix and match of old and new autotools system prohibited
80
. else
80
. else
81
USE_AUTOTOOLS=	${USE_AUTOTOOLS_COMPAT}
81
USE_AUTOTOOLS=	${USE_AUTOTOOLS_COMPAT}
82
. endif
82
. endif
Lines 156-162 Link Here
156
# Make sure we specified a legal version of automake
156
# Make sure we specified a legal version of automake
157
#
157
#
158
. if !exists(${PORTSDIR}/devel/automake${AUTOMAKE_VERSION}/Makefile)
158
. if !exists(${PORTSDIR}/devel/automake${AUTOMAKE_VERSION}/Makefile)
159
BROKEN+=	"Unknown AUTOMAKE version: ${AUTOMAKE_VERSION}"
159
BROKEN+=	Unknown AUTOMAKE version: ${AUTOMAKE_VERSION}
160
. endif
160
. endif
161
161
162
# Set up the automake environment
162
# Set up the automake environment
Lines 202-208 Link Here
202
# Make sure we specified a legal version of autoconf
202
# Make sure we specified a legal version of autoconf
203
#
203
#
204
. if !exists(${PORTSDIR}/devel/autoconf${AUTOCONF_VERSION}/Makefile)
204
. if !exists(${PORTSDIR}/devel/autoconf${AUTOCONF_VERSION}/Makefile)
205
BROKEN+=	"Unknown AUTOCONF version: ${AUTOCONF_VERSION}"
205
BROKEN+=	Unknown AUTOCONF version: ${AUTOCONF_VERSION}
206
. endif
206
. endif
207
207
208
# Set up the autoconf/autoheader environment
208
# Set up the autoconf/autoheader environment
Lines 250-256 Link Here
250
# Make sure we specified a legal version of libtool
250
# Make sure we specified a legal version of libtool
251
#
251
#
252
. if !exists(${PORTSDIR}/devel/libtool${LIBTOOL_VERSION}/Makefile)
252
. if !exists(${PORTSDIR}/devel/libtool${LIBTOOL_VERSION}/Makefile)
253
BROKEN+=	"Unknown LIBTOOL version: ${LIBTOOL_VERSION}"
253
BROKEN+=	Unknown LIBTOOL version: ${LIBTOOL_VERSION}
254
. endif
254
. endif
255
255
256
# Set up the libtool environment
256
# Set up the libtool environment
(-)bsd.gcc.mk (-2 / +2 lines)
Lines 77-83 Link Here
77
.endfor
77
.endfor
78
78
79
.if !defined(_GCCVERSION_OKAY)
79
.if !defined(_GCCVERSION_OKAY)
80
BROKEN=	"Unknown version of GCC specified (USE_GCC=${USE_GCC})"
80
BROKEN=	Unknown version of GCC specified (USE_GCC=${USE_GCC})
81
.endif
81
.endif
82
82
83
#
83
#
Lines 93-99 Link Here
93
. endif
93
. endif
94
.endfor
94
.endfor
95
.if !defined(_GCCVERSION)
95
.if !defined(_GCCVERSION)
96
BROKEN=		"Couldn't find your current GCCVERSION (OSVERSION=${OSVERSION})"
96
BROKEN=		Couldn't find your current GCCVERSION (OSVERSION=${OSVERSION})
97
.endif
97
.endif
98
98
99
#
99
#
(-)bsd.gnome.mk (-1 / +1 lines)
Lines 596-602 Link Here
596
.         endif
596
.         endif
597
.      endif
597
.      endif
598
.  if ${_USE_GNOME_ALL:M${component}}==""
598
.  if ${_USE_GNOME_ALL:M${component}}==""
599
BROKEN=	"Unknown component ${component}"
599
BROKEN=	Unknown component ${component}
600
.  endif
600
.  endif
601
_USE_GNOME+=	${${component}_USE_GNOME_IMPL} ${component}
601
_USE_GNOME+=	${${component}_USE_GNOME_IMPL} ${component}
602
. endfor
602
. endfor
(-)bsd.gstreamer.mk (-1 / +1 lines)
Lines 237-243 Link Here
237
RUN_DEPENDS+=   ${_GST_LIB_BASE}/libgst${ext}.so:${PORTSDIR}/${${ext}_DEPENDS}
237
RUN_DEPENDS+=   ${_GST_LIB_BASE}/libgst${ext}.so:${PORTSDIR}/${${ext}_DEPENDS}
238
.  endif
238
.  endif
239
. else
239
. else
240
BROKEN=	"Unknown gstreamer-plugin -- ${ext}"
240
BROKEN=	Unknown gstreamer-plugin -- ${ext}
241
. endif
241
. endif
242
.endfor
242
.endfor
243
243
(-)bsd.kde.mk (-2 / +2 lines)
Lines 77-83 Link Here
77
USE_QT_VER=		3
77
USE_QT_VER=		3
78
PREFIX=			${KDE_PREFIX}
78
PREFIX=			${KDE_PREFIX}
79
.else
79
.else
80
BROKEN=			"Unknown value in USE_KDELIBS_VER"
80
BROKEN=			Unknown value in USE_KDELIBS_VER
81
.endif # ${USE_KDELIBS_VER} == 3
81
.endif # ${USE_KDELIBS_VER} == 3
82
.endif # defined(USE_KDELIBS_VER)
82
.endif # defined(USE_KDELIBS_VER)
83
83
Lines 142-148 Link Here
142
CONFIGURE_ENV+=	MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
142
CONFIGURE_ENV+=	MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
143
.endif # !defined(QT_NONSTANDARD)
143
.endif # !defined(QT_NONSTANDARD)
144
.else
144
.else
145
BROKEN="Unsupported value of USE_QT_VER"
145
BROKEN=Unsupported value of USE_QT_VER
146
.endif # defined(USE_QT_VER)
146
.endif # defined(USE_QT_VER)
147
147
148
# End of USE_QT_VER section
148
# End of USE_QT_VER section
(-)bsd.php.mk (-1 / +1 lines)
Lines 68-74 Link Here
68
.if defined(BROKEN_WITH_PHP)
68
.if defined(BROKEN_WITH_PHP)
69
.	for VER in ${BROKEN_WITH_PHP}
69
.	for VER in ${BROKEN_WITH_PHP}
70
.		if ${PHP_VER} == "${VER}"
70
.		if ${PHP_VER} == "${VER}"
71
BROKEN=		"Doesn't work with PHP version : ${PHP_VER} (Doesn't support PHP ${BROKEN_WITH_PHP})"
71
BROKEN=		Doesn't work with PHP version : ${PHP_VER} (Doesn't support PHP ${BROKEN_WITH_PHP})
72
.		endif
72
.		endif
73
.	endfor
73
.	endfor
74
.endif
74
.endif
(-)bsd.port.mk (-21 / +21 lines)
Lines 1154-1160 Link Here
1154
1154
1155
.if defined(PORTVERSION)
1155
.if defined(PORTVERSION)
1156
.if ${PORTVERSION:M*[-_,]*}x != x
1156
.if ${PORTVERSION:M*[-_,]*}x != x
1157
BROKEN=			"PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','"
1157
BROKEN=			PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','
1158
.endif
1158
.endif
1159
DISTVERSION?=	${PORTVERSION:S/:/::/g}
1159
DISTVERSION?=	${PORTVERSION:S/:/::/g}
1160
.elif defined(DISTVERSION)
1160
.elif defined(DISTVERSION)
Lines 1484-1490 Link Here
1484
.elif ${WANT_OPENLDAP_VER} == 23
1484
.elif ${WANT_OPENLDAP_VER} == 23
1485
LIB_DEPENDS+=		ldap-2.3.1:${PORTSDIR}/net/openldap23${_OPENLDAP_FLAVOUR}-client
1485
LIB_DEPENDS+=		ldap-2.3.1:${PORTSDIR}/net/openldap23${_OPENLDAP_FLAVOUR}-client
1486
.else
1486
.else
1487
BROKEN=				"unknown OpenLDAP version: ${WANT_OPENLDAP_VER}"
1487
BROKEN=				unknown OpenLDAP version: ${WANT_OPENLDAP_VER}
1488
.endif
1488
.endif
1489
.endif
1489
.endif
1490
1490
Lines 1494-1500 Link Here
1494
.elif ${WANT_FAM_SYSTEM} == gamin
1494
.elif ${WANT_FAM_SYSTEM} == gamin
1495
LIB_DEPENDS+=	fam.0:${PORTSDIR}/devel/gamin
1495
LIB_DEPENDS+=	fam.0:${PORTSDIR}/devel/gamin
1496
.else
1496
.else
1497
BROKEN=			"unknown FAM system: ${WANT_FAM_SYSTEM}"
1497
BROKEN=			unknown FAM system: ${WANT_FAM_SYSTEM}
1498
.endif
1498
.endif
1499
.endif
1499
.endif
1500
1500
Lines 1770-1776 Link Here
1770
.endif # BROKEN_WITH_MYSQL
1770
.endif # BROKEN_WITH_MYSQL
1771
LIB_DEPENDS+=	mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client
1771
LIB_DEPENDS+=	mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client
1772
.else
1772
.else
1773
BROKEN=		"unknown MySQL version: ${MYSQL_VER}"
1773
BROKEN=		unknown MySQL version: ${MYSQL_VER}
1774
.endif # Check for correct libs
1774
.endif # Check for correct libs
1775
.endif # USE_MYSQL
1775
.endif # USE_MYSQL
1776
1776
Lines 1786-1792 Link Here
1786
.endif
1786
.endif
1787
1787
1788
.if defined(WANT_PGSQL_VER) && defined(_PGSQL_VER) && ${WANT_PGSQL_VER} != ${_PGSQL_VER}
1788
.if defined(WANT_PGSQL_VER) && defined(_PGSQL_VER) && ${WANT_PGSQL_VER} != ${_PGSQL_VER}
1789
IGNORE=		"The port wants postgresql${WANT_PGSQL_VER}-client but you have postgresql${_PGSQL_VER}-client installed"
1789
IGNORE=		The port wants postgresql${WANT_PGSQL_VER}-client but you have postgresql${_PGSQL_VER}-client installed
1790
.endif
1790
.endif
1791
1791
1792
.if defined(_PGSQL_VER)
1792
.if defined(_PGSQL_VER)
Lines 1802-1814 Link Here
1802
.if defined(BROKEN_WITH_PGSQL)
1802
.if defined(BROKEN_WITH_PGSQL)
1803
.	for VER in ${BROKEN_WITH_PGSQL}
1803
.	for VER in ${BROKEN_WITH_PGSQL}
1804
.		if (${PGSQL_VER} == "${VER}")
1804
.		if (${PGSQL_VER} == "${VER}")
1805
IGNORE=		"Does not work with postgresql${PGSQL_VER}-client PostgresSQL \(${BROKEN_WITH_PGSQL} not supported\)"
1805
IGNORE=		Does not work with postgresql${PGSQL_VER}-client PostgresSQL \(${BROKEN_WITH_PGSQL} not supported\)
1806
.		endif
1806
.		endif
1807
.	endfor
1807
.	endfor
1808
.endif # BROKEN_WITH_PGSQL
1808
.endif # BROKEN_WITH_PGSQL
1809
LIB_DEPENDS+=	pq.${PGSQL${PGSQL_VER}_LIBVER}:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
1809
LIB_DEPENDS+=	pq.${PGSQL${PGSQL_VER}_LIBVER}:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
1810
.else
1810
.else
1811
BROKEN=		"unknown PostgreSQL version: ${PGSQL_VER}"
1811
BROKEN=		unknown PostgreSQL version: ${PGSQL_VER}
1812
.endif # Check for correct version
1812
.endif # Check for correct version
1813
CPPFLAGS+=		-I${LOCALBASE}/include
1813
CPPFLAGS+=		-I${LOCALBASE}/include
1814
LDFLAGS+=		-L${LOCALBASE}/lib
1814
LDFLAGS+=		-L${LOCALBASE}/lib
Lines 2825-2831 Link Here
2825
2825
2826
.if ${OSVERSION} < 420000
2826
.if ${OSVERSION} < 420000
2827
# You need an upgrade kit or make world newer than this
2827
# You need an upgrade kit or make world newer than this
2828
IGNORE=	": Your system is too old to use this bsd.port.mk.  You need a fresh make world or an upgrade kit.  Please go to http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions"
2828
IGNORE=	: Your system is too old to use this bsd.port.mk.  You need a fresh make world or an upgrade kit.  Please go to http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions
2829
.endif
2829
.endif
2830
2830
2831
.if defined(ONLY_FOR_ARCHS)
2831
.if defined(ONLY_FOR_ARCHS)
Lines 2848-2879 Link Here
2848
2848
2849
.if !defined(__ARCH_OK)
2849
.if !defined(__ARCH_OK)
2850
.if defined(ONLY_FOR_ARCHS)
2850
.if defined(ONLY_FOR_ARCHS)
2851
IGNORE=		"is only for ${ONLY_FOR_ARCHS},"
2851
IGNORE=		is only for ${ONLY_FOR_ARCHS},
2852
.else # defined(NOT_FOR_ARCHS)
2852
.else # defined(NOT_FOR_ARCHS)
2853
IGNORE=		"does not run on ${NOT_FOR_ARCHS},"
2853
IGNORE=		does not run on ${NOT_FOR_ARCHS},
2854
.endif
2854
.endif
2855
IGNORE+=	"and you are running ${ARCH}"
2855
IGNORE+=	and you are running ${ARCH}
2856
.endif
2856
.endif
2857
2857
2858
.if !defined(NO_IGNORE)
2858
.if !defined(NO_IGNORE)
2859
.if (defined(IS_INTERACTIVE) && defined(BATCH))
2859
.if (defined(IS_INTERACTIVE) && defined(BATCH))
2860
IGNORE=	"is an interactive port"
2860
IGNORE=	is an interactive port
2861
.elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE))
2861
.elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE))
2862
IGNORE=	"is not an interactive port"
2862
IGNORE=	is not an interactive port
2863
.elif (defined(NO_CDROM) && defined(FOR_CDROM))
2863
.elif (defined(NO_CDROM) && defined(FOR_CDROM))
2864
IGNORE=	"may not be placed on a CDROM: ${NO_CDROM}"
2864
IGNORE=	may not be placed on a CDROM: ${NO_CDROM}
2865
.elif (defined(RESTRICTED) && defined(NO_RESTRICTED))
2865
.elif (defined(RESTRICTED) && defined(NO_RESTRICTED))
2866
IGNORE=	"is restricted: ${RESTRICTED}"
2866
IGNORE=	is restricted: ${RESTRICTED}
2867
.elif defined(BROKEN)
2867
.elif defined(BROKEN)
2868
.if !defined(TRYBROKEN)
2868
.if !defined(TRYBROKEN)
2869
IGNORE=	"is marked as broken: ${BROKEN}"
2869
IGNORE=	is marked as broken: ${BROKEN}
2870
.endif
2870
.endif
2871
.elif defined(FORBIDDEN)
2871
.elif defined(FORBIDDEN)
2872
IGNORE=	"is forbidden: ${FORBIDDEN}"
2872
IGNORE=	is forbidden: ${FORBIDDEN}
2873
.endif
2873
.endif
2874
2874
2875
.if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING) && !defined(PARALLEL_PACKAGE_BUILD))
2875
.if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING) && !defined(PARALLEL_PACKAGE_BUILD))
2876
IGNORE=	"has to be built manually: ${MANUAL_PACKAGE_BUILD}"
2876
IGNORE=	has to be built manually: ${MANUAL_PACKAGE_BUILD}
2877
clean:
2877
clean:
2878
	@${IGNORECMD}
2878
	@${IGNORECMD}
2879
.endif
2879
.endif
Lines 2882-2888 Link Here
2882
.if defined(IGNORE_SILENT)
2882
.if defined(IGNORE_SILENT)
2883
IGNORECMD=	${DO_NADA}
2883
IGNORECMD=	${DO_NADA}
2884
.else
2884
.else
2885
IGNORECMD=	${ECHO_MSG} "===>  ${PKGNAME} ${IGNORE}."
2885
IGNORECMD=	${ECHO_MSG} "===>  ${PKGNAME} "${IGNORE:Q}.
2886
.endif
2886
.endif
2887
2887
2888
.for target in check-sanity fetch checksum extract patch configure all build install reinstall package
2888
.for target in check-sanity fetch checksum extract patch configure all build install reinstall package
Lines 3005-3011 Link Here
3005
.if defined(IGNORE_SILENT)
3005
.if defined(IGNORE_SILENT)
3006
	@${DO_NADA}
3006
	@${DO_NADA}
3007
.else
3007
.else
3008
	@${ECHO_MSG} "===>  ${PKGNAME} may not be packaged: ${NO_PACKAGE}."
3008
	@${ECHO_MSG} "===>  ${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}.
3009
.endif
3009
.endif
3010
.endif
3010
.endif
3011
3011
Lines 3062-3068 Link Here
3062
	@${ECHO_MSG}
3062
	@${ECHO_MSG}
3063
	@${ECHO_MSG} "This port is deprecated; you may wish to reconsider installing it:"
3063
	@${ECHO_MSG} "This port is deprecated; you may wish to reconsider installing it:"
3064
	@${ECHO_MSG}
3064
	@${ECHO_MSG}
3065
	@${ECHO_MSG} "${DEPRECATED}."
3065
	@${ECHO_MSG} ${DEPRECATED:Q}.
3066
	@${ECHO_MSG}
3066
	@${ECHO_MSG}
3067
.if defined(EXPIRATION_DATE)
3067
.if defined(EXPIRATION_DATE)
3068
	@${ECHO_MSG} "It is scheduled to be removed on or after ${EXPIRATION_DATE}."
3068
	@${ECHO_MSG} "It is scheduled to be removed on or after ${EXPIRATION_DATE}."
(-)bsd.port.subdir.mk (+1 lines)
Lines 89-94 Link Here
89
89
90
TARGETS+=	all
90
TARGETS+=	all
91
TARGETS+=	build
91
TARGETS+=	build
92
TARGETS+=	check-sanity
92
TARGETS+=	checksum
93
TARGETS+=	checksum
93
TARGETS+=	clean
94
TARGETS+=	clean
94
TARGETS+=	clean-for-cdrom
95
TARGETS+=	clean-for-cdrom
(-)bsd.ruby.mk (-3 / +3 lines)
Lines 114-125 Link Here
114
114
115
.if defined(RUBY)
115
.if defined(RUBY)
116
.if !exists(${RUBY})
116
.if !exists(${RUBY})
117
BROKEN=	"You set the variable RUBY to \"${RUBY}\", but it does not seem to exist.  Please specify an already installed ruby executable."
117
BROKEN=	You set the variable RUBY to "${RUBY}", but it does not seem to exist.  Please specify an already installed ruby executable.
118
.endif
118
.endif
119
119
120
_RUBY_TEST!=		${RUBY} -e 'begin; require "rbconfig"; rescue LoadError; puts "error"; end'
120
_RUBY_TEST!=		${RUBY} -e 'begin; require "rbconfig"; rescue LoadError; puts "error"; end'
121
.if !empty(_RUBY_TEST)
121
.if !empty(_RUBY_TEST)
122
BROKEN=	"You set the variable RUBY to \"${RUBY}\", but it failed to include rbconfig.  Please specify a properly installed ruby executable."
122
BROKEN=	You set the variable RUBY to "${RUBY}", but it failed to include rbconfig.  Please specify a properly installed ruby executable.
123
.endif
123
.endif
124
124
125
_RUBY_CONFIG=		${RUBY} -r rbconfig -e 'C = Config::CONFIG' -e
125
_RUBY_CONFIG=		${RUBY} -r rbconfig -e 'C = Config::CONFIG' -e
Lines 143-149 Link Here
143
RUBY_WRKSRC=		${WRKDIR}/ruby-${RUBY_VERSION}
143
RUBY_WRKSRC=		${WRKDIR}/ruby-${RUBY_VERSION}
144
#MASTER_SITE_SUBDIR_RUBY=	snapshots
144
#MASTER_SITE_SUBDIR_RUBY=	snapshots
145
.elif defined(RUBY_VER) && ${RUBY_VER} == 1.7
145
.elif defined(RUBY_VER) && ${RUBY_VER} == 1.7
146
BROKEN=	"Ruby 1.7 is obsolete; set RUBY_VER to 1.8 instead."
146
BROKEN=	Ruby 1.7 is obsolete; set RUBY_VER to 1.8 instead.
147
.else
147
.else
148
RUBY_VERSION?=		1.6.8
148
RUBY_VERSION?=		1.6.8
149
RUBY_DISTVERSION?=	${RUBY_VERSION}-2004.07.28
149
RUBY_DISTVERSION?=	${RUBY_VERSION}-2004.07.28
(-)bsd.sdl.mk (-1 / +1 lines)
Lines 145-151 Link Here
145
_USE_SDL=
145
_USE_SDL=
146
.for component in ${USE_SDL}
146
.for component in ${USE_SDL}
147
. if ${_USE_SDL_ALL:M${component}}==""
147
. if ${_USE_SDL_ALL:M${component}}==""
148
BROKEN=	"Unknown SDL component ${component}"
148
BROKEN=	Unknown SDL component ${component}
149
. endif
149
. endif
150
_USE_SDL+=	${_REQUIRES_${component}} ${component}
150
_USE_SDL+=	${_REQUIRES_${component}} ${component}
151
.endfor
151
.endfor

Return to bug 87396