diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-04-13 18:40:58 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-04-13 18:40:58 +0800 |
commit | 3e41cdfc5c036839ca03edfe8d1913ac56675b26 (patch) | |
tree | 6df5b03479e80554abbdb28c30df58ac0dfbd7e2 /lang/gcc46 | |
parent | a47581cd69a8eab0fafe12c008ee6799950cb9c4 (diff) | |
download | freebsd-ports-gnome-3e41cdfc5c036839ca03edfe8d1913ac56675b26.tar.gz freebsd-ports-gnome-3e41cdfc5c036839ca03edfe8d1913ac56675b26.tar.zst freebsd-ports-gnome-3e41cdfc5c036839ca03edfe8d1913ac56675b26.zip |
lang/gcc*: convert to CONFIGURE_OUTSOURCE
PR: 208294, 208309
Exp-run by: antoine
Approved by: gerald (maintainer)
Differential Revision: https://reviews.freebsd.org/D4157
Diffstat (limited to 'lang/gcc46')
-rw-r--r-- | lang/gcc46/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index adbf058b551f..7009213de795 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -38,9 +38,6 @@ USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes -PATCH_WRKSRC= ${SRCDIR} -CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure - OPTIONS_DEFINE= BOOTSTRAP OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA @@ -58,11 +55,10 @@ CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif LANGUAGES:= c,c++,objc,fortran -SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} -WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes +CONFIGURE_OUTSOURCE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else @@ -118,14 +114,13 @@ pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: - cd ${SRCDIR} ; contrib/gcc_update --touch - @${RM} -f ${SRCDIR}/gcc/*/*.info* - @${MKDIR} ${CONFIGURE_WRKSRC} + cd ${WRKSRC} ; contrib/gcc_update --touch + @${RM} -f ${WRKSRC}/gcc/*/*.info* .if defined(MAINTAINER_MODE) full-regression-test: build - cd ${WRKSRC}; ${MAKE_CMD} -sk check \ - ; ${SRCDIR}/contrib/test_summary + cd ${TEST_WRKSRC}; ${MAKE_CMD} -sk check \ + ; ${WRKSRC}/contrib/test_summary .endif post-stage: |