Use INFO and TOUCH macros. Fix white space.
PR: 64193 Submitted by: Yen-Ming Lee
This commit is contained in:
parent
dfc4c0a7ce
commit
de1abc66a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104117
@ -51,13 +51,14 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld \
|
||||
#CONFIGURE_ARGS+= --program-suffix=-295
|
||||
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
||||
.if defined(WANT_SHAREDLIBS)
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
.endif
|
||||
.if defined(WANT_THREADS)
|
||||
# ?is this an ObjC only thing?
|
||||
CONFIGURE_ARGS+= --enable-threads=posix
|
||||
CONFIGURE_ARGS+= --enable-threads=posix
|
||||
.endif
|
||||
ALL_TARGET= bootstrap
|
||||
INFO= gcc cpp
|
||||
MAN1= cccp.1 g++295.1 gcc295.1
|
||||
|
||||
pre-patch:
|
||||
@ -76,8 +77,8 @@ pre-configure:
|
||||
@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
|
||||
@# Keep from running `autoconf' and `autoheader' since we modified
|
||||
@# configure.in by patching it.
|
||||
@touch ${WRKSRC}/gcc/configure
|
||||
@touch ${WRKSRC}/gcc/cstamp-h.in
|
||||
@${TOUCH} ${WRKSRC}/gcc/configure
|
||||
@${TOUCH} ${WRKSRC}/gcc/cstamp-h.in
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/info
|
||||
@ -109,7 +110,7 @@ post-install:
|
||||
.if defined(WANT_SHAREDLIBS)
|
||||
${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
|
||||
.endif
|
||||
.for info in cpp gcc
|
||||
.for info in ${INFO}
|
||||
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
|
||||
.endfor
|
||||
cd ${PREFIX} ;\
|
||||
|
@ -10,12 +10,6 @@ bin/unprotoize295
|
||||
@comment Insert PLIST.gcc-lib here
|
||||
@comment -=[ begin PLIST.gcc-lib ]=-
|
||||
@comment -=[ end PLIST.gcc-lib ]=-
|
||||
@unexec install-info --delete %D/info/gcc.info %D/info/dir
|
||||
@unexec install-info --delete %D/info/cpp.info %D/info/dir
|
||||
info/cpp.info
|
||||
info/gcc.info
|
||||
@exec install-info %D/info/cpp.info %D/info/dir
|
||||
@exec install-info %D/info/gcc.info %D/info/dir
|
||||
@dirrm %%GNU_HOST%%/include
|
||||
@dirrm %%GNU_HOST%%
|
||||
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/g++/std
|
||||
|
Loading…
Reference in New Issue
Block a user