View | Details | Raw Unified | Return to bug 208294 | Differences between
and this patch

Collapse All | Expand All

(-)CHANGES (+12 lines)
Lines 10-15 in the release notes and/or placed into UPDATING. Link Here
10
10
11
All ports committers are allowed to commit to this file.
11
All ports committers are allowed to commit to this file.
12
12
13
20160331:
14
AUTHOR: jbeich@FreeBSD.org
15
16
  Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE
17
  by invoking configure, build and install stage outside of source tree e.g.,
18
19
    $ mkdir ../.build
20
    $ cd ../.build
21
    $ ${OLDPWD}/configure
22
    $ gmake
23
    $ gmake install
24
13
20160301:
25
20160301:
14
AUTHOR: mat@FreeBSD.org
26
AUTHOR: mat@FreeBSD.org
15
27
(-)Mk/Uses/autoreconf.mk (-3 / +4 lines)
Lines 65-70 BUILD_DEPENDS+= libtoolize:${PORTSDIR}/devel/libtool Link Here
65
.endif
65
.endif
66
66
67
AUTORECONF?=	${LOCALBASE}/bin/autoreconf
67
AUTORECONF?=	${LOCALBASE}/bin/autoreconf
68
AUTORECONF_WRKSRC?=	${WRKSRC}
68
69
69
.endif
70
.endif
70
71
Lines 76-91 _USES_configure+= 470:do-autoreconf Link Here
76
do-autoreconf:
77
do-autoreconf:
77
.for f in AUTHORS ChangeLog INSTALL NEWS README
78
.for f in AUTHORS ChangeLog INSTALL NEWS README
78
# Don't modify time stamps if the files already exist
79
# Don't modify time stamps if the files already exist
79
	@test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f}
80
	@test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f}
80
.endfor
81
.endfor
81
.if defined(_USE_GNOME) && ${_USE_GNOME:Mintltool}
82
.if defined(_USE_GNOME) && ${_USE_GNOME:Mintltool}
82
	@(cd ${CONFIGURE_WRKSRC} && \
83
	@(cd ${AUTORECONF_WRKSRC} && \
83
		if test -f configure.ac; then configure=configure.ac; \
84
		if test -f configure.ac; then configure=configure.ac; \
84
		else configure=configure.in; fi && \
85
		else configure=configure.in; fi && \
85
		if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \
86
		if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \
86
		then ${LOCALBASE}/bin/intltoolize -f -c; fi)
87
		then ${LOCALBASE}/bin/intltoolize -f -c; fi)
87
.endif
88
.endif
88
	@(cd ${CONFIGURE_WRKSRC} && ${AUTORECONF} -f -i)
89
	@(cd ${AUTORECONF_WRKSRC} && ${AUTORECONF} -f -i)
89
.endif
90
.endif
90
91
91
.endif
92
.endif
(-)Mk/Uses/perl5.mk (-1 / +1 lines)
Lines 255-261 do-configure: Link Here
255
	fi
255
	fi
256
	@cd ${CONFIGURE_WRKSRC} && \
256
	@cd ${CONFIGURE_WRKSRC} && \
257
		${SETENV} ${CONFIGURE_ENV} \
257
		${SETENV} ${CONFIGURE_ENV} \
258
		${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
258
		${PERL5} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
259
.if !${_USE_PERL5:Mmodbuild*}
259
.if !${_USE_PERL5:Mmodbuild*}
260
	@cd ${CONFIGURE_WRKSRC} && \
260
	@cd ${CONFIGURE_WRKSRC} && \
261
		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
261
		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
(-)Mk/bsd.port.mk (-4 / +14 lines)
Lines 778-783 FreeBSD_MAINTAINER= portmgr@FreeBSD.org Link Here
778
#				  configure stage will not do anything if this is not set.
778
#				  configure stage will not do anything if this is not set.
779
# GNU_CONFIGURE	- If set, you are using GNU configure (optional).  Implies
779
# GNU_CONFIGURE	- If set, you are using GNU configure (optional).  Implies
780
#				  HAS_CONFIGURE.
780
#				  HAS_CONFIGURE.
781
# CONFIGURE_OUTSOURCE - If set, this port builds outside of WRKSRC.
781
# CONFIGURE_WRKSRC
782
# CONFIGURE_WRKSRC
782
#				- Directory to run configure in.
783
#				- Directory to run configure in.
783
#				  Default: ${WRKSRC}
784
#				  Default: ${WRKSRC}
Lines 1552-1557 EXTRACT_WRKDIR:= ${WRKDIR} Link Here
1552
WRKSRC:=		${WRKSRC}/${WRKSRC_SUBDIR}
1553
WRKSRC:=		${WRKSRC}/${WRKSRC_SUBDIR}
1553
.endif
1554
.endif
1554
1555
1556
.if defined(CONFIGURE_OUTSOURCE)
1557
CONFIGURE_CMD?=		${WRKSRC}/${CONFIGURE_SCRIPT}
1558
CONFIGURE_WRKSRC?=	${WRKDIR}/.build
1559
BUILD_WRKSRC?=		${CONFIGURE_WRKSRC}
1560
INSTALL_WRKSRC?=	${CONFIGURE_WRKSRC}
1561
TEST_WRKSRC?=		${CONFIGURE_WRKSRC}
1562
.endif
1563
1555
PATCH_WRKSRC?=	${WRKSRC}
1564
PATCH_WRKSRC?=	${WRKSRC}
1556
CONFIGURE_WRKSRC?=	${WRKSRC}
1565
CONFIGURE_WRKSRC?=	${WRKSRC}
1557
BUILD_WRKSRC?=	${WRKSRC}
1566
BUILD_WRKSRC?=	${WRKSRC}
Lines 2601-2616 HAS_CONFIGURE= yes Link Here
2601
SET_LATE_CONFIGURE_ARGS= \
2610
SET_LATE_CONFIGURE_ARGS= \
2602
     _LATE_CONFIGURE_ARGS="" ; \
2611
     _LATE_CONFIGURE_ARGS="" ; \
2603
	if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \
2612
	if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \
2604
	   ./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \
2613
	   ${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \
2605
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \
2614
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \
2606
	fi ; \
2615
	fi ; \
2607
	if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \
2616
	if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \
2608
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \
2617
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \
2609
	fi ; \
2618
	fi ; \
2610
	if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
2619
	if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
2611
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
2620
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
2612
	fi ; \
2621
	fi ; \
2613
	if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \
2622
	if [ -z "`${CONFIGURE_CMD} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \
2614
		_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \
2623
		_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \
2615
	else \
2624
	else \
2616
		_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \
2625
		_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \
Lines 3332-3337 do-configure: Link Here
3332
	done
3341
	done
3333
.endif
3342
.endif
3334
.if defined(HAS_CONFIGURE)
3343
.if defined(HAS_CONFIGURE)
3344
	@${MKDIR} ${CONFIGURE_WRKSRC}
3335
	@(cd ${CONFIGURE_WRKSRC} && \
3345
	@(cd ${CONFIGURE_WRKSRC} && \
3336
	    ${SET_LATE_CONFIGURE_ARGS} \
3346
	    ${SET_LATE_CONFIGURE_ARGS} \
3337
		if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
3347
		if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
(-)audio/oss/Makefile (-10 / +4 lines)
Lines 15-25 LICENSE= BSD2CLAUSE Link Here
15
BUILD_DEPENDS=	gawk:${PORTSDIR}/lang/gawk
15
BUILD_DEPENDS=	gawk:${PORTSDIR}/lang/gawk
16
16
17
USES=		tar:bzip2 kmod pkgconfig
17
USES=		tar:bzip2 kmod pkgconfig
18
HAS_CONFIGURE=	yes
19
CONFIGURE_OUTSOURCE=	yes
20
CONFIGURE_ENV=	HOSTCC="${CC}"
18
ALL_TARGET=	all install
21
ALL_TARGET=	all install
19
USE_GNOME=	gtk20
22
USE_GNOME=	gtk20
20
USE_RC_SUBR=	oss
23
USE_RC_SUBR=	oss
21
WRKSRC=		${WRKDIR}/build
22
PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
23
SUB_FILES=	pkg-install pkg-deinstall
24
SUB_FILES=	pkg-install pkg-deinstall
24
ONLY_FOR_ARCHS=	amd64 i386
25
ONLY_FOR_ARCHS=	amd64 i386
25
26
Lines 31-45 OSS_CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \ Link Here
31
		oss_sbpci oss_sbxfi oss_trident oss_usb oss_userdev \
32
		oss_sbpci oss_sbxfi oss_trident oss_usb oss_userdev \
32
		oss_ymf7xx osscore
33
		oss_ymf7xx osscore
33
34
34
PROTO_DIR=	${WRKSRC}/prototype
35
PROTO_DIR=	${INSTALL_WRKSRC}/prototype
35
PROTO_ETCDIR=	${PROTO_DIR}/etc
36
PROTO_ETCDIR=	${PROTO_DIR}/etc
36
PROTO_BINDIR=	${PROTO_DIR}/usr/bin
37
PROTO_BINDIR=	${PROTO_DIR}/usr/bin
37
PROTO_SBINDIR=	${PROTO_DIR}/usr/sbin
38
PROTO_SBINDIR=	${PROTO_DIR}/usr/sbin
38
PROTO_MANDIR=	${PROTO_DIR}/usr/share/man
39
PROTO_MANDIR=	${PROTO_DIR}/usr/share/man
39
PROTO_OSSLIBDIR=${PROTO_DIR}${PREFIX}/lib/oss
40
PROTO_OSSLIBDIR=${PROTO_DIR}${PREFIX}/lib/oss
40
41
41
CONFIGURE_ENV=	CC="${CC}" HOSTCC="${CC}"
42
43
OPTIONS_DEFINE=	VORBIS
42
OPTIONS_DEFINE=	VORBIS
44
OPTIONS_DEFAULT=VORBIS
43
OPTIONS_DEFAULT=VORBIS
45
44
Lines 59-69 post-patch: Link Here
59
	    -name make.local -or -name soundoff -or -name soundon | \
58
	    -name make.local -or -name soundoff -or -name soundon | \
60
	    ${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'
59
	    ${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'
61
60
62
do-configure:
63
	${MKDIR} ${WRKSRC}
64
	(cd ${WRKSRC} && \
65
	    ${SETENV} ${CONFIGURE_ENV} ${PATCH_WRKSRC}/configure)
66
67
do-install:
61
do-install:
68
	${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${STAGEDIR}${PREFIX}/bin/
62
	${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${STAGEDIR}${PREFIX}/bin/
69
# @${ECHO_CMD} "OSSLIBDIR=${PREFIX}/lib/oss" > ${PROTO_ETCDIR}/oss.conf
63
# @${ECHO_CMD} "OSSLIBDIR=${PREFIX}/lib/oss" > ${PROTO_ETCDIR}/oss.conf
(-)databases/p5-Class-DBI-Plugin-Senna/Makefile (-1 / +1 lines)
Lines 22-27 BROKEN_ia64= fails to configure with coredump Link Here
22
do-configure:
22
do-configure:
23
	cd ${CONFIGURE_WRKSRC} && \
23
	cd ${CONFIGURE_WRKSRC} && \
24
		${SETENV} ${CONFIGURE_ENV} \
24
		${SETENV} ${CONFIGURE_ENV} \
25
		${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
25
		${PERL5} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
26
26
27
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)devel/arm-none-eabi-gcc492/Makefile (-8 / +1 lines)
Lines 25-37 PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ Link Here
25
		OPSYS=${OPSYS:tl} \
25
		OPSYS=${OPSYS:tl} \
26
		GCC_TARGET=${GCC_TARGET}
26
		GCC_TARGET=${GCC_TARGET}
27
27
28
PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
29
WRKSRC=	${WRKDIR}/build-gcc
30
31
GCC_TARGET=	arm-none-eabi
28
GCC_TARGET=	arm-none-eabi
32
BU_PREFIX?=	${GCC_TARGET}
29
BU_PREFIX?=	${GCC_TARGET}
33
30
34
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
32
CONFIGURE_OUTSOURCE=	yes
35
# libstdcxx won't build, but we don't need it or multiple float-abi libs.
33
# libstdcxx won't build, but we don't need it or multiple float-abi libs.
36
CONFIGURE_ARGS= --target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
34
CONFIGURE_ARGS= --target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
37
		--without-headers \
35
		--without-headers \
Lines 43-50 CONFIGURE_ARGS= --target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ Link Here
43
		--disable-libstdcxx \
41
		--disable-libstdcxx \
44
		--disable-multilib
42
		--disable-multilib
45
43
46
CONFIGURE_SCRIPT=	../${PORTNAME}-${PORTVERSION}/configure
47
48
PLIST=	${.CURDIR}/pkg-plist
44
PLIST=	${.CURDIR}/pkg-plist
49
45
50
# U-Boot requires libgcc, crossbuild and install it along with the compiler.
46
# U-Boot requires libgcc, crossbuild and install it along with the compiler.
Lines 55-63 INSTALL_TARGET= install-gcc install-target-libgcc Link Here
55
51
56
CONFIGURE_TARGET=	${ARCH}-portbld-${OPSYS:tl}${OSREL}
52
CONFIGURE_TARGET=	${ARCH}-portbld-${OPSYS:tl}${OSREL}
57
53
58
post-extract:
59
	@${MKDIR} ${WRKSRC}
60
61
post-stage:
54
post-stage:
62
	@if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \
55
	@if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \
63
		${MV} ${STAGEDIR}${PREFIX}/bin/cpp  \
56
		${MV} ${STAGEDIR}${PREFIX}/bin/cpp  \
(-)devel/djgpp-binutils/Makefile (-8 / +1 lines)
Lines 14-26 LICENSE= GPLv2 Link Here
14
14
15
TARGET=		i586-pc-msdosdjgpp
15
TARGET=		i586-pc-msdosdjgpp
16
16
17
PATCH_WRKSRC=	${SRCDIR}
18
CONFIGURE_SCRIPT=	../${SRCDIR:C/${WRKDIR}//}/configure
19
20
USES=		gmake makeinfo tar:bzip2
17
USES=		gmake makeinfo tar:bzip2
21
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
22
SRCDIR=		${WRKDIR}/binutils-${PORTVERSION}
19
CONFIGURE_OUTSOURCE=	yes
23
WRKSRC=		${WRKDIR}/build
24
CONFIGURE_ARGS=	--target=${TARGET} \
20
CONFIGURE_ARGS=	--target=${TARGET} \
25
		--with-gcc --with-gnu-ld --with-gnu-as \
21
		--with-gcc --with-gnu-ld --with-gnu-as \
26
		--disable-nls --disable-shared --disable-werror
22
		--disable-nls --disable-shared --disable-werror
Lines 31-39 INFO_PATH= ${TARGET}/info Link Here
31
BINARIES=	addr2line ar as c++filt ld nm objcopy objdump ranlib \
27
BINARIES=	addr2line ar as c++filt ld nm objcopy objdump ranlib \
32
		readelf size strings strip
28
		readelf size strings strip
33
29
34
pre-configure:
35
	@${MKDIR} ${CONFIGURE_WRKSRC}
36
37
post-install:
30
post-install:
38
.for F in ${BINARIES}
31
.for F in ${BINARIES}
39
	@${LN} -f ${STAGEDIR}${PREFIX}/bin/${TARGET}-$F ${STAGEDIR}${PREFIX}/${TARGET}/bin/$F
32
	@${LN} -f ${STAGEDIR}${PREFIX}/bin/${TARGET}-$F ${STAGEDIR}${PREFIX}/${TARGET}/bin/$F
(-)devel/fb-adb/Makefile (-22 / +2 lines)
Lines 18-30 RUN_DEPENDS= adb:devel/android-tools-adb Link Here
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	facebook
19
GH_ACCOUNT=	facebook
20
20
21
USES=		autoreconf:outsource gmake ncurses perl5 python:3,build
21
USES=		autoreconf gmake ncurses perl5 python:3,build
22
USE_PERL5=	build # pod2man
22
USE_PERL5=	build # pod2man
23
BASH_CMD?=	bash # can be zsh
23
BASH_CMD?=	bash # can be zsh
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
CONFIGURE_OUTSOURCE=	yes
25
CONFIGURE_ENV=	PYTHON3="${PYTHON_CMD}"
26
CONFIGURE_ENV=	PYTHON3="${PYTHON_CMD}"
26
# XXX D4158: --mandir as SET_LATE_CONFIGURE_ARGS doesn't respect CONFIGURE_CMD
27
CONFIGURE_ARGS=	--mandir="${MANPREFIX}/man"
28
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
29
PLIST_FILES=	bin/${PORTNAME} \
28
PLIST_FILES=	bin/${PORTNAME} \
30
		man/man1/${PORTNAME}.1.gz
29
		man/man1/${PORTNAME}.1.gz
Lines 92-116 post-patch-NDK-off: Link Here
92
	@${REINPLACE_CMD} -i '.aux.bak' -e 's/linux-android/aux-&/' \
91
	@${REINPLACE_CMD} -i '.aux.bak' -e 's/linux-android/aux-&/' \
93
		${WRKSRC}/stub-*/configure
92
		${WRKSRC}/stub-*/configure
94
93
95
# XXX D4157: Similar to USES=qmake:outsource, merge into Mk/Uses/autoreconf.mk
96
.if defined(USES) && ${USES:Mautoreconf\:outsource}
97
USES:=			autoreconf:build ${USES:Nautoreconf*}
98
CONFIGURE_CMD=		${AUTORECONF_WRKSRC}/${CONFIGURE_SCRIPT}
99
CONFIGURE_WRKSRC=	${WRKDIR}/.build
100
BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
101
INSTALL_WRKSRC=		${CONFIGURE_WRKSRC}
102
AUTORECONF_WRKSRC?=	${WRKSRC}
103
104
_USES_configure+=	470:do-autoreconf
105
do-autoreconf:
106
.for f in AUTHORS ChangeLog INSTALL NEWS README
107
# Don't modify time stamps if the files already exist
108
	@test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f}
109
.endfor
110
	@(cd ${AUTORECONF_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i)
111
	@${MKDIR} ${CONFIGURE_WRKSRC}
112
.endif
113
114
.include <bsd.port.mk>
94
.include <bsd.port.mk>
115
95
116
# XXX Bug 204615: Teach USE_LINUX about build-only deps
96
# XXX Bug 204615: Teach USE_LINUX about build-only deps
(-)devel/powerpc64-gcc/Makefile (-8 / +1 lines)
Lines 24-32 LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ Link Here
24
BUILD_DEPENDS=	${BU_PREFIX}-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
24
BUILD_DEPENDS=	${BU_PREFIX}-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
25
RUN_DEPENDS=	${BU_PREFIX}-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
25
RUN_DEPENDS=	${BU_PREFIX}-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
26
26
27
PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
28
WRKSRC=	${WRKDIR}/build-gcc
29
30
.if empty(GCC_TARGET)
27
.if empty(GCC_TARGET)
31
# We are building for a FreeBSD target
28
# We are building for a FreeBSD target
32
GCC_TARGET?=	${PKGNAMEPREFIX}portbld-${OPSYS:tl}${OSREL}
29
GCC_TARGET?=	${PKGNAMEPREFIX}portbld-${OPSYS:tl}${OSREL}
Lines 42-47 EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions Link Here
42
CONFIGURE_ENV=	LC_ALL=C
39
CONFIGURE_ENV=	LC_ALL=C
43
MAKE_ENV=	LC_ALL=C
40
MAKE_ENV=	LC_ALL=C
44
GNU_CONFIGURE=	yes
41
GNU_CONFIGURE=	yes
42
CONFIGURE_OUTSOURCE=	yes
45
CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
43
CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
46
		--without-headers \
44
		--without-headers \
47
		--with-gmp=${LOCALBASE} \
45
		--with-gmp=${LOCALBASE} \
Lines 50-57 CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ Link Here
50
		--with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \
48
		--with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \
51
		--with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld
49
		--with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld
52
50
53
CONFIGURE_SCRIPT=	../${PORTNAME}-${PORTVERSION}/configure
54
55
ALL_TARGET?=	all-gcc
51
ALL_TARGET?=	all-gcc
56
INSTALL_TARGET?=	install-gcc
52
INSTALL_TARGET?=	install-gcc
57
BROKEN_FreeBSD9=	plist is different on 9.x that on other arches
53
BROKEN_FreeBSD9=	plist is different on 9.x that on other arches
Lines 64-72 CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} Link Here
64
CONFIGURE_TARGET=	${ARCH}-portbld-${OPSYS:tl}${OSREL}
60
CONFIGURE_TARGET=	${ARCH}-portbld-${OPSYS:tl}${OSREL}
65
.endif
61
.endif
66
62
67
post-extract:
68
	@${MKDIR} ${WRKSRC}
69
70
post-install:
63
post-install:
71
	@if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \
64
	@if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \
72
		mv ${STAGEDIR}${PREFIX}/bin/cpp  \
65
		mv ${STAGEDIR}${PREFIX}/bin/cpp  \
(-)devel/psptoolchain-gcc-stage1/Makefile (-9 / +5 lines)
Lines 35-48 BUILD_DEPENDS+= psp-addr2line:${PORTSDIR}/devel/psptoolchain-binutils \ Link Here
35
			psp-strip:${PORTSDIR}/devel/psptoolchain-binutils
35
			psp-strip:${PORTSDIR}/devel/psptoolchain-binutils
36
36
37
USES=			gmake libtool tar:bzip2
37
USES=			gmake libtool tar:bzip2
38
PATCH_WRKSRC=		${SRCDIR}
39
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
40
41
SRCDIR=			${WRKDIR}/${PORTNAME}-${PORTVERSION}
42
WRKSRC=			${WRKDIR}/build
43
38
44
MAKE_ENV+=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PREFIX}/bin:${PATH}
39
MAKE_ENV+=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PREFIX}/bin:${PATH}
45
HAS_CONFIGURE=		yes
40
HAS_CONFIGURE=		yes
41
CONFIGURE_OUTSOURCE=	yes
46
CONFIGURE_ARGS?=	--prefix=${PREFIX}/${PSP_GCC_STAGE_PREFIX} \
42
CONFIGURE_ARGS?=	--prefix=${PREFIX}/${PSP_GCC_STAGE_PREFIX} \
47
			--target="psp" \
43
			--target="psp" \
48
			--enable-languages="c" \
44
			--enable-languages="c" \
Lines 64-78 pre-configure: Link Here
64
# Disable installation of .info files and libiberty for both stages.
60
# Disable installation of .info files and libiberty for both stages.
65
post-patch:
61
post-patch:
66
	@${REINPLACE_CMD} -E "s/^(install-data-am:)(.*)install-info-am(.*)/\1 \2 \3/" \
62
	@${REINPLACE_CMD} -E "s/^(install-data-am:)(.*)install-info-am(.*)/\1 \2 \3/" \
67
		${SRCDIR}/libquadmath/Makefile.in
63
		${WRKSRC}/libquadmath/Makefile.in
68
	@${REINPLACE_CMD} -E "s/^(install:)(.*)/\1#\2/" ${SRCDIR}/libiberty/Makefile.in
64
	@${REINPLACE_CMD} -E "s/^(install:)(.*)/\1#\2/" ${WRKSRC}/libiberty/Makefile.in
69
	@${REINPLACE_CMD} -E \
65
	@${REINPLACE_CMD} -E \
70
		-e "/^	\\$$\(mkinstalldirs\) \\$$\(DESTDIR\)\\$$\((infodir|man7dir)\)/d" \
66
		-e "/^	\\$$\(mkinstalldirs\) \\$$\(DESTDIR\)\\$$\((infodir|man7dir)\)/d" \
71
		-e "s/^(install-info:)(.*)/\1#\2/" \
67
		-e "s/^(install-info:)(.*)/\1#\2/" \
72
		-e "/^	\\$$\(DESTDIR\)\\$$\(man7dir\)\/(fsf-funding|gfdl|gpl)\\$$\(man7ext\)/d" \
68
		-e "/^	\\$$\(DESTDIR\)\\$$\(man7dir\)\/(fsf-funding|gfdl|gpl)\\$$\(man7ext\)/d" \
73
		${SRCDIR}/gcc/Makefile.in
69
		${WRKSRC}/gcc/Makefile.in
74
.if ${PKGNAMESUFFIX} == "-stage1"
70
.if ${PKGNAMESUFFIX} == "-stage1"
75
	@${REINPLACE_CMD} -E "s/^(install-man:)(.*)/\1#\2/" ${SRCDIR}/gcc/Makefile.in
71
	@${REINPLACE_CMD} -E "s/^(install-man:)(.*)/\1#\2/" ${WRKSRC}/gcc/Makefile.in
76
.endif
72
.endif
77
73
78
PLIST_SUB+=		PSP_GCC_STAGE_PREFIX=${PSP_GCC_STAGE_PREFIX}
74
PLIST_SUB+=		PSP_GCC_STAGE_PREFIX=${PSP_GCC_STAGE_PREFIX}
(-)devel/qmake5/Makefile (-1 / +1 lines)
Lines 56-62 post-build: Link Here
56
	@cd ${WRKSRC} && \
56
	@cd ${WRKSRC} && \
57
		${SETENV} CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
57
		${SETENV} CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
58
		CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
58
		CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
59
		${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
59
		${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
60
# Cleanup qmodule.pri to make it module agnostic.
60
# Cleanup qmodule.pri to make it module agnostic.
61
	@${REINPLACE_CMD} -En -e '/^(CONFIG|QT_BUILD_PARTS|.*_DIR) / p' \
61
	@${REINPLACE_CMD} -En -e '/^(CONFIG|QT_BUILD_PARTS|.*_DIR) / p' \
62
		${WRKSRC}/mkspecs/qmodule.pri
62
		${WRKSRC}/mkspecs/qmodule.pri
(-)games/eboard/Makefile (-1 / +1 lines)
Lines 76-82 post-install: Link Here
76
.endfor
76
.endfor
77
.endif
77
.endif
78
.for extra in ${EXTRAS}
78
.for extra in ${EXTRAS}
79
	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} EBOARDCONFIG=${STAGEDIR}${PREFIX}/bin/eboard-config ./${CONFIGURE_SCRIPT} --prefix=${PREFIX}
79
	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} EBOARDCONFIG=${STAGEDIR}${PREFIX}/bin/eboard-config ${CONFIGURE_CMD} --prefix=${PREFIX}
80
	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} ${MAKE_ENV} ${MAKE} install DATADIR=${STAGEDIR}${DATADIR}
80
	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} ${MAKE_ENV} ${MAKE} install DATADIR=${STAGEDIR}${DATADIR}
81
.endfor
81
.endfor
82
	@${INSTALL_DATA} ${WRKSRC}/icon-eboard.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/eboard.xpm
82
	@${INSTALL_DATA} ${WRKSRC}/icon-eboard.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/eboard.xpm
(-)games/nimuh/Makefile (-1 / +1 lines)
Lines 30-36 post-patch: Link Here
30
	@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
30
	@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
31
31
32
post-configure:
32
post-configure:
33
	@cd ${DATA_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
33
	@cd ${DATA_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
34
34
35
post-install:
35
post-install:
36
	@cd ${DATA_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
36
	@cd ${DATA_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
(-)games/volleyball/Makefile (-1 / +1 lines)
Lines 41-47 post-patch: Link Here
41
41
42
post-configure:
42
post-configure:
43
	cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
43
	cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
44
		${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
44
		${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
45
45
46
post-install:
46
post-install:
47
	cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
47
	cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
(-)graphics/p5-ming/Makefile (+1 lines)
Lines 31-36 SHEBANG_FILES= examples/*.cgi Link Here
31
31
32
PORTEXAMPLES=	*
32
PORTEXAMPLES=	*
33
33
34
AUTORECONF_WRKSRC=	${CONFIGURE_WRKSRC}
34
CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
35
CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
35
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/perl_ext
36
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/perl_ext
36
37
(-)graphics/py-ming/Makefile (+1 lines)
Lines 29-34 GNU_CONFIGURE= yes Link Here
29
USE_PYTHON=	autoplist concurrent distutils
29
USE_PYTHON=	autoplist concurrent distutils
30
USES=		autoreconf libtool localbase python
30
USES=		autoreconf libtool localbase python
31
31
32
AUTORECONF_WRKSRC=	${CONFIGURE_WRKSRC}
32
CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
33
CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
33
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext
34
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext
34
35
(-)irc/inspircd/Makefile (-1 / +1 lines)
Lines 139-145 PLIST_SUB+= POSIX="@comment " Link Here
139
139
140
pre-configure:
140
pre-configure:
141
	@if [ ${EXTRAS} ]; then \
141
	@if [ ${EXTRAS} ]; then \
142
		cd ${WRKSRC} && ./${CONFIGURE_SCRIPT} --enable-extras=${EXTRAS} ; \
142
		cd ${WRKSRC} && ${CONFIGURE_CMD} --enable-extras=${EXTRAS} ; \
143
	fi
143
	fi
144
144
145
post-patch:
145
post-patch:
(-)lang/gcc/Makefile (-8 / +4 lines)
Lines 37-45 USE_BINUTILS= yes Link Here
37
USE_PERL5=	build
37
USE_PERL5=	build
38
SSP_UNSAFE=	yes
38
SSP_UNSAFE=	yes
39
39
40
PATCH_WRKSRC=	${SRCDIR}
41
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
42
43
OPTIONS_DEFINE=		BOOTSTRAP
40
OPTIONS_DEFINE=		BOOTSTRAP
44
OPTIONS_DEFINE_i386=	JAVA
41
OPTIONS_DEFINE_i386=	JAVA
45
OPTIONS_DEFINE_amd64=	JAVA
42
OPTIONS_DEFINE_amd64=	JAVA
Lines 82-92 MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 Link Here
82
.endif
79
.endif
83
80
84
LANGUAGES:=	c,c++,objc,fortran
81
LANGUAGES:=	c,c++,objc,fortran
85
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
86
WRKSRC=		${WRKDIR}/build
87
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
82
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
88
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
83
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
89
GNU_CONFIGURE=	yes
84
GNU_CONFIGURE=	yes
85
CONFIGURE_OUTSOURCE=	yes
90
.if empty(PORT_OPTIONS:MBOOTSTRAP)
86
.if empty(PORT_OPTIONS:MBOOTSTRAP)
91
CONFIGURE_ARGS+=--disable-bootstrap
87
CONFIGURE_ARGS+=--disable-bootstrap
92
.else
88
.else
Lines 146-159 pre-everything:: Link Here
146
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
142
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
147
143
148
pre-configure:
144
pre-configure:
149
	cd ${SRCDIR} ; contrib/gcc_update --touch
145
	cd ${WRKSRC} ; contrib/gcc_update --touch
150
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
146
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
151
	@${MKDIR} ${CONFIGURE_WRKSRC}
147
	@${MKDIR} ${CONFIGURE_WRKSRC}
152
148
153
.if defined(MAINTAINER_MODE)
149
.if defined(MAINTAINER_MODE)
154
full-regression-test: build
150
full-regression-test: build
155
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
151
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
156
	; ${SRCDIR}/contrib/test_summary
152
	; ${WRKSRC}/contrib/test_summary
157
.endif
153
.endif
158
154
159
post-stage:
155
post-stage:
(-)lang/gcc46/Makefile (-8 / +4 lines)
Lines 38-46 USE_BINUTILS= yes Link Here
38
USE_PERL5=	build
38
USE_PERL5=	build
39
SSP_UNSAFE=	yes
39
SSP_UNSAFE=	yes
40
40
41
PATCH_WRKSRC=	${SRCDIR}
42
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
43
44
OPTIONS_DEFINE=		BOOTSTRAP
41
OPTIONS_DEFINE=		BOOTSTRAP
45
OPTIONS_DEFINE_i386=	JAVA
42
OPTIONS_DEFINE_i386=	JAVA
46
OPTIONS_DEFINE_amd64=	JAVA
43
OPTIONS_DEFINE_amd64=	JAVA
Lines 58-68 CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} Link Here
58
.endif
55
.endif
59
56
60
LANGUAGES:=	c,c++,objc,fortran
57
LANGUAGES:=	c,c++,objc,fortran
61
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
62
WRKSRC=		${WRKDIR}/build
63
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
58
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
64
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
59
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
65
GNU_CONFIGURE=	yes
60
GNU_CONFIGURE=	yes
61
CONFIGURE_OUTSOURCE=	yes
66
.if empty(PORT_OPTIONS:MBOOTSTRAP)
62
.if empty(PORT_OPTIONS:MBOOTSTRAP)
67
CONFIGURE_ARGS+=--disable-bootstrap
63
CONFIGURE_ARGS+=--disable-bootstrap
68
.else
64
.else
Lines 118-131 pre-everything:: Link Here
118
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
114
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
119
115
120
pre-configure:
116
pre-configure:
121
	cd ${SRCDIR} ; contrib/gcc_update --touch
117
	cd ${WRKSRC} ; contrib/gcc_update --touch
122
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
118
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
123
	@${MKDIR} ${CONFIGURE_WRKSRC}
119
	@${MKDIR} ${CONFIGURE_WRKSRC}
124
120
125
.if defined(MAINTAINER_MODE)
121
.if defined(MAINTAINER_MODE)
126
full-regression-test: build
122
full-regression-test: build
127
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
123
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
128
	; ${SRCDIR}/contrib/test_summary
124
	; ${WRKSRC}/contrib/test_summary
129
.endif
125
.endif
130
126
131
post-stage:
127
post-stage:
(-)lang/gcc47/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP
42
OPTIONS_DEFINE=		BOOTSTRAP
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 63-73 CONFIGURE_ENV+= UNAME_m="powerpc64" Link Here
63
.endif
60
.endif
64
61
65
LANGUAGES:=	c,c++,objc,fortran
62
LANGUAGES:=	c,c++,objc,fortran
66
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
67
WRKSRC=		${WRKDIR}/build
68
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
63
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
69
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
64
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
70
GNU_CONFIGURE=	yes
65
GNU_CONFIGURE=	yes
66
CONFIGURE_OUTSOURCE=	yes
71
.if empty(PORT_OPTIONS:MBOOTSTRAP)
67
.if empty(PORT_OPTIONS:MBOOTSTRAP)
72
CONFIGURE_ARGS+=--disable-bootstrap
68
CONFIGURE_ARGS+=--disable-bootstrap
73
.else
69
.else
Lines 127-140 pre-everything:: Link Here
127
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
123
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
128
124
129
pre-configure:
125
pre-configure:
130
	cd ${SRCDIR} ; contrib/gcc_update --touch
126
	cd ${WRKSRC} ; contrib/gcc_update --touch
131
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
127
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
132
	@${MKDIR} ${CONFIGURE_WRKSRC}
128
	@${MKDIR} ${CONFIGURE_WRKSRC}
133
129
134
.if defined(MAINTAINER_MODE)
130
.if defined(MAINTAINER_MODE)
135
full-regression-test: build
131
full-regression-test: build
136
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
132
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
137
	; ${SRCDIR}/contrib/test_summary
133
	; ${WRKSRC}/contrib/test_summary
138
.endif
134
.endif
139
135
140
post-stage:
136
post-stage:
(-)lang/gcc48/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP
42
OPTIONS_DEFINE=		BOOTSTRAP
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 73-83 CONFIGURE_ENV+= UNAME_m="powerpc64" Link Here
73
.endif
70
.endif
74
71
75
LANGUAGES:=	c,c++,objc,fortran
72
LANGUAGES:=	c,c++,objc,fortran
76
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
77
WRKSRC=		${WRKDIR}/build
78
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
73
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
79
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
74
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
80
GNU_CONFIGURE=	yes
75
GNU_CONFIGURE=	yes
76
CONFIGURE_OUTSOURCE=	yes
81
.if empty(PORT_OPTIONS:MBOOTSTRAP)
77
.if empty(PORT_OPTIONS:MBOOTSTRAP)
82
CONFIGURE_ARGS+=--disable-bootstrap
78
CONFIGURE_ARGS+=--disable-bootstrap
83
.else
79
.else
Lines 137-150 pre-everything:: Link Here
137
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
133
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
138
134
139
pre-configure:
135
pre-configure:
140
	cd ${SRCDIR} ; contrib/gcc_update --touch
136
	cd ${WRKSRC} ; contrib/gcc_update --touch
141
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
137
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
142
	@${MKDIR} ${CONFIGURE_WRKSRC}
138
	@${MKDIR} ${CONFIGURE_WRKSRC}
143
139
144
.if defined(MAINTAINER_MODE)
140
.if defined(MAINTAINER_MODE)
145
full-regression-test: build
141
full-regression-test: build
146
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
142
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
147
	; ${SRCDIR}/contrib/test_summary
143
	; ${WRKSRC}/contrib/test_summary
148
.endif
144
.endif
149
145
150
post-stage:
146
post-stage:
(-)lang/gcc49/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP
42
OPTIONS_DEFINE=		BOOTSTRAP
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 87-97 MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 Link Here
87
.endif
84
.endif
88
85
89
LANGUAGES:=	c,c++,objc,fortran
86
LANGUAGES:=	c,c++,objc,fortran
90
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
91
WRKSRC=		${WRKDIR}/build
92
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
87
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
93
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
88
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
94
GNU_CONFIGURE=	yes
89
GNU_CONFIGURE=	yes
90
CONFIGURE_OUTSOURCE=	yes
95
.if empty(PORT_OPTIONS:MBOOTSTRAP)
91
.if empty(PORT_OPTIONS:MBOOTSTRAP)
96
CONFIGURE_ARGS+=--disable-bootstrap
92
CONFIGURE_ARGS+=--disable-bootstrap
97
.else
93
.else
Lines 153-166 pre-everything:: Link Here
153
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
149
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
154
150
155
pre-configure:
151
pre-configure:
156
	cd ${SRCDIR} ; contrib/gcc_update --touch
152
	cd ${WRKSRC} ; contrib/gcc_update --touch
157
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
153
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
158
	@${MKDIR} ${CONFIGURE_WRKSRC}
154
	@${MKDIR} ${CONFIGURE_WRKSRC}
159
155
160
.if defined(MAINTAINER_MODE)
156
.if defined(MAINTAINER_MODE)
161
full-regression-test: build
157
full-regression-test: build
162
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
158
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
163
	; ${SRCDIR}/contrib/test_summary
159
	; ${WRKSRC}/contrib/test_summary
164
.endif
160
.endif
165
161
166
post-stage:
162
post-stage:
(-)lang/gcc5-devel/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
42
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 86-96 MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 Link Here
86
.endif
83
.endif
87
84
88
LANGUAGES:=	c,c++,objc,fortran
85
LANGUAGES:=	c,c++,objc,fortran
89
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
90
WRKSRC=		${WRKDIR}/build
91
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
86
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
92
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
87
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
93
GNU_CONFIGURE=	yes
88
GNU_CONFIGURE=	yes
89
CONFIGURE_OUTSOURCE=	yes
94
.if empty(PORT_OPTIONS:MBOOTSTRAP)
90
.if empty(PORT_OPTIONS:MBOOTSTRAP)
95
CONFIGURE_ARGS+=--disable-bootstrap
91
CONFIGURE_ARGS+=--disable-bootstrap
96
.else
92
.else
Lines 154-167 pre-everything:: Link Here
154
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
150
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
155
151
156
pre-configure:
152
pre-configure:
157
	cd ${SRCDIR} ; contrib/gcc_update --touch
153
	cd ${WRKSRC} ; contrib/gcc_update --touch
158
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
154
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
159
	@${MKDIR} ${CONFIGURE_WRKSRC}
155
	@${MKDIR} ${CONFIGURE_WRKSRC}
160
156
161
.if defined(MAINTAINER_MODE)
157
.if defined(MAINTAINER_MODE)
162
full-regression-test: build
158
full-regression-test: build
163
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
159
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
164
	; ${SRCDIR}/contrib/test_summary
160
	; ${WRKSRC}/contrib/test_summary
165
.endif
161
.endif
166
162
167
post-stage:
163
post-stage:
(-)lang/gcc5/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
42
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 84-94 MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 Link Here
84
.endif
81
.endif
85
82
86
LANGUAGES:=	c,c++,objc,fortran
83
LANGUAGES:=	c,c++,objc,fortran
87
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
88
WRKSRC=		${WRKDIR}/build
89
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
84
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
90
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
85
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
91
GNU_CONFIGURE=	yes
86
GNU_CONFIGURE=	yes
87
CONFIGURE_OUTSOURCE=	yes
92
.if empty(PORT_OPTIONS:MBOOTSTRAP)
88
.if empty(PORT_OPTIONS:MBOOTSTRAP)
93
CONFIGURE_ARGS+=--disable-bootstrap
89
CONFIGURE_ARGS+=--disable-bootstrap
94
.else
90
.else
Lines 153-166 pre-everything:: Link Here
153
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
149
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
154
150
155
pre-configure:
151
pre-configure:
156
	cd ${SRCDIR} ; contrib/gcc_update --touch
152
	cd ${WRKSRC} ; contrib/gcc_update --touch
157
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
153
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
158
	@${MKDIR} ${CONFIGURE_WRKSRC}
154
	@${MKDIR} ${CONFIGURE_WRKSRC}
159
155
160
.if defined(MAINTAINER_MODE)
156
.if defined(MAINTAINER_MODE)
161
full-regression-test: build
157
full-regression-test: build
162
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
158
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
163
	; ${SRCDIR}/contrib/test_summary
159
	; ${WRKSRC}/contrib/test_summary
164
.endif
160
.endif
165
161
166
post-stage:
162
post-stage:
(-)lang/gcc6-devel/Makefile (-8 / +4 lines)
Lines 39-47 USE_BINUTILS= yes Link Here
39
USE_PERL5=	build
39
USE_PERL5=	build
40
SSP_UNSAFE=	yes
40
SSP_UNSAFE=	yes
41
41
42
PATCH_WRKSRC=	${SRCDIR}
43
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
44
45
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
42
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE
46
OPTIONS_DEFINE_i386=	JAVA
43
OPTIONS_DEFINE_i386=	JAVA
47
OPTIONS_DEFINE_amd64=	JAVA
44
OPTIONS_DEFINE_amd64=	JAVA
Lines 87-97 MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 Link Here
87
.endif
84
.endif
88
85
89
LANGUAGES:=	c,c++,objc,fortran
86
LANGUAGES:=	c,c++,objc,fortran
90
SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
91
WRKSRC=		${WRKDIR}/build
92
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
87
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
93
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
88
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
94
GNU_CONFIGURE=	yes
89
GNU_CONFIGURE=	yes
90
CONFIGURE_OUTSOURCE=	yes
95
.if empty(PORT_OPTIONS:MBOOTSTRAP)
91
.if empty(PORT_OPTIONS:MBOOTSTRAP)
96
CONFIGURE_ARGS+=--disable-bootstrap
92
CONFIGURE_ARGS+=--disable-bootstrap
97
.else
93
.else
Lines 155-168 pre-everything:: Link Here
155
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
151
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
156
152
157
pre-configure:
153
pre-configure:
158
	cd ${SRCDIR} ; contrib/gcc_update --touch
154
	cd ${WRKSRC} ; contrib/gcc_update --touch
159
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
155
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
160
	@${MKDIR} ${CONFIGURE_WRKSRC}
156
	@${MKDIR} ${CONFIGURE_WRKSRC}
161
157
162
.if defined(MAINTAINER_MODE)
158
.if defined(MAINTAINER_MODE)
163
full-regression-test: build
159
full-regression-test: build
164
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
160
	cd ${WRKSRC}; ${MAKE_CMD} -sk check \
165
	; ${SRCDIR}/contrib/test_summary
161
	; ${WRKSRC}/contrib/test_summary
166
.endif
162
.endif
167
163
168
post-stage:
164
post-stage:
(-)lang/ghc/Makefile (-1 / +1 lines)
Lines 272-278 post-patch: Link Here
272
pre-configure:
272
pre-configure:
273
	@${MKDIR} ${TMPDIR}
273
	@${MKDIR} ${TMPDIR}
274
.if empty(PORT_OPTIONS:MBOOT)
274
.if empty(PORT_OPTIONS:MBOOT)
275
	@(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS_BOOT})
275
	@(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS_BOOT})
276
	@(cd ${BOOT_DIR} && PACKAGES='' ${MAKE_CMD} install)
276
	@(cd ${BOOT_DIR} && PACKAGES='' ${MAKE_CMD} install)
277
.endif
277
.endif
278
278
(-)textproc/groff/Makefile (-1 / +1 lines)
Lines 80-86 post-configure: Link Here
80
	    INSTALL_LIB="${INSTALL_LIB}" \
80
	    INSTALL_LIB="${INSTALL_LIB}" \
81
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
81
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
82
	    INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
82
	    INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
83
	    ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
83
	    ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \
84
		 ${ECHO_MSG} "===>  Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
84
		 ${ECHO_MSG} "===>  Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
85
		 (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
85
		 (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
86
		 ${FALSE}; \
86
		 ${FALSE}; \
(-)textproc/p5-XML-DifferenceMarkup/Makefile (-1 / +1 lines)
Lines 28-33 post-patch: Link Here
28
do-configure:
28
do-configure:
29
	@cd ${CONFIGURE_WRKSRC} && \
29
	@cd ${CONFIGURE_WRKSRC} && \
30
		${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_ARGS} \
30
		${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_ARGS} \
31
		${PERL5} ./${CONFIGURE_SCRIPT}
31
		${PERL5} ${CONFIGURE_CMD}
32
32
33
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)www/interchange/Makefile (-1 / +1 lines)
Lines 59-65 do-configure: Link Here
59
# INTERCH_CONFIGURE_ARGS instead of CONFIGURE_ARGS.
59
# INTERCH_CONFIGURE_ARGS instead of CONFIGURE_ARGS.
60
	@cd ${CONFIGURE_WRKSRC} && \
60
	@cd ${CONFIGURE_WRKSRC} && \
61
		${SETENV} ${CONFIGURE_ENV} \
61
		${SETENV} ${CONFIGURE_ENV} \
62
		${PERL5} ./${CONFIGURE_SCRIPT} ${INTERCH_CONFIGURE_ARGS}
62
		${PERL5} ${CONFIGURE_CMD} ${INTERCH_CONFIGURE_ARGS}
63
63
64
post-install:
64
post-install:
65
# This directory has to be created here for check-plist to pass, otherwise it
65
# This directory has to be created here for check-plist to pass, otherwise it
(-)www/nginx-devel/Makefile (-1 / +1 lines)
Lines 1105-1111 post-patch: Link Here
1105
pre-configure:
1105
pre-configure:
1106
.if ${PORT_OPTIONS:MMODSECURITY}
1106
.if ${PORT_OPTIONS:MMODSECURITY}
1107
	( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \
1107
	( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \
1108
		CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \
1108
		CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \
1109
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
1109
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
1110
.endif
1110
.endif
1111
.if ${PORT_OPTIONS:MSMALL_LIGHT}
1111
.if ${PORT_OPTIONS:MSMALL_LIGHT}
(-)www/nginx/Makefile (-1 / +1 lines)
Lines 1055-1061 post-patch: Link Here
1055
pre-configure:
1055
pre-configure:
1056
.if ${PORT_OPTIONS:MMODSECURITY}
1056
.if ${PORT_OPTIONS:MMODSECURITY}
1057
	( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \
1057
	( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \
1058
		CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \
1058
		CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \
1059
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
1059
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
1060
.endif
1060
.endif
1061
.if ${PORT_OPTIONS:MSMALL_LIGHT}
1061
.if ${PORT_OPTIONS:MSMALL_LIGHT}
(-)www/p5-RT-Authen-ExternalAuth/Makefile (-1 / +1 lines)
Lines 54-60 PLIST_SUB+= RTHOME=share/rt${RT_VER} Link Here
54
do-configure:
54
do-configure:
55
	@cd ${CONFIGURE_WRKSRC} && \
55
	@cd ${CONFIGURE_WRKSRC} && \
56
	    unset PREFIX && \
56
	    unset PREFIX && \
57
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
57
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
58
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//;' Makefile
58
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//;' Makefile
59
59
60
post-configure:
60
post-configure:
(-)www/p5-RT-Extension-LDAPImport/Makefile (-1 / +1 lines)
Lines 53-59 PLIST_SUB+= RTHOME=share/rt${RT_VER} Link Here
53
do-configure:
53
do-configure:
54
	@cd ${CONFIGURE_WRKSRC} && \
54
	@cd ${CONFIGURE_WRKSRC} && \
55
	    unset PREFIX && \
55
	    unset PREFIX && \
56
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
56
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
57
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
57
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
58
58
59
post-configure:
59
post-configure:
(-)www/p5-RT-Extension-MandatoryOnTransition/Makefile (-1 / +1 lines)
Lines 46-52 PLIST_SUB+= RT_VER=${RT_VER} Link Here
46
do-configure:
46
do-configure:
47
	@cd ${CONFIGURE_WRKSRC} && \
47
	@cd ${CONFIGURE_WRKSRC} && \
48
		unset PREFIX && \
48
		unset PREFIX && \
49
		${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
49
		${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
50
		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
50
		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
51
51
52
post-configure:
52
post-configure:
(-)www/p5-RT-Extension-SLA/Makefile (-1 / +1 lines)
Lines 55-61 SUB_FILES+= pkg-message Link Here
55
do-configure:
55
do-configure:
56
	@cd ${CONFIGURE_WRKSRC} && \
56
	@cd ${CONFIGURE_WRKSRC} && \
57
	    unset PREFIX && \
57
	    unset PREFIX && \
58
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
58
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
59
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
59
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
60
60
61
post-configure:
61
post-configure:
(-)www/p5-RTx-Calendar/Makefile (-1 / +1 lines)
Lines 56-62 post-patch: Link Here
56
do-configure:
56
do-configure:
57
	@cd ${CONFIGURE_WRKSRC} && \
57
	@cd ${CONFIGURE_WRKSRC} && \
58
	    unset PREFIX && \
58
	    unset PREFIX && \
59
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
59
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
60
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
60
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
61
61
62
post-configure:
62
post-configure:
(-)www/tengine/Makefile (-1 / +1 lines)
Lines 824-830 post-patch: Link Here
824
pre-configure:
824
pre-configure:
825
.if ${PORT_OPTIONS:MMODSECURITY}
825
.if ${PORT_OPTIONS:MMODSECURITY}
826
	( cd ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION} && \
826
	( cd ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION} && \
827
		CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \
827
		CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \
828
		${MAKE} )
828
		${MAKE} )
829
.endif
829
.endif
830
830
(-)x11-toolkits/tix/Makefile (-1 / +1 lines)
Lines 34-40 pre-configure: Link Here
34
	    INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
34
	    INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
35
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
35
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
36
	    INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
36
	    INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
37
	    ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
37
	    ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS})
38
38
39
post-configure:
39
post-configure:
40
	@${REINPLACE_CMD} -e "s|package require Tcl 8\.4|package require Tcl ${TCL_VER}|g" ${WRKSRC}/Makefile
40
	@${REINPLACE_CMD} -e "s|package require Tcl 8\.4|package require Tcl ${TCL_VER}|g" ${WRKSRC}/Makefile

Return to bug 208294