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/gcc48 | |
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/gcc48')
-rw-r--r-- | lang/gcc48/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 87365ca63b47..09083287c435 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -39,9 +39,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 @@ -73,11 +70,10 @@ CONFIGURE_ENV+= UNAME_m="powerpc64" .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 @@ -137,14 +133,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: |