Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164709542
D14787.id40659.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D14787.id40659.diff
View Options
Index: devel/riscv64-gcc/Makefile
===================================================================
--- devel/riscv64-gcc/Makefile
+++ devel/riscv64-gcc/Makefile
@@ -2,7 +2,7 @@
PORTNAME= gcc
PORTVERSION= 7.2.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
PKGNAMEPREFIX= riscv64-
@@ -32,7 +32,7 @@
GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
CONFIGURE_ARGS= --target=${GCC_TARGET} \
- --with-sysroot=/ \
+ --with-sysroot="/" \
--without-newlib \
--without-headers \
--with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \
@@ -62,9 +62,14 @@
PLIST_SUB= GCC_TARGET=${GCC_TARGET} \
GCC_VERSION=${PORTVERSION}
+post-patch:
+ @${REINPLACE_CMD} -e '/LOCAL_INCLUDE_DIR/ d ' \
+ ${WRKSRC}//gcc/Makefile.in
+
post-install:
@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then ${RM} -r ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
@${RM} ${STAGEDIR}${PREFIX}/man/man7/*
+ @${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
BROKEN_aarch64= fails to package
Index: devel/riscv64-gcc/pkg-plist
===================================================================
--- devel/riscv64-gcc/pkg-plist
+++ devel/riscv64-gcc/pkg-plist
@@ -9,21 +9,6 @@
bin/%%GCC_TARGET%%-gcov
bin/%%GCC_TARGET%%-gcov-dump
bin/%%GCC_TARGET%%-gcov-tool
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_nat.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_proxy.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_scan.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_state.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
-lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/iso646.h
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdalign.h
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 4, 7:19 AM (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35949639
Default Alt Text
D14787.id40659.diff (2 KB)
Attached To
Mode
D14787: Bring over some fixes from the other external GCC toolchain ports.
Attached
Detach File
Event Timeline
Log In to Comment