summaryrefslogtreecommitdiff
path: root/lang/pgcc/Makefile
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-10-29 02:09:39 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-10-29 02:09:39 +0000
commit676071dc99e5a4043c3560b30952ca8e45430e5e (patch)
tree2d7ab3526a46808a07dc60e338e47fbce5f3c444 /lang/pgcc/Makefile
parentFix spelling. (diff)
o fix install: change GCC_REV to match existing one.
o unify info files for future update. o ${MKDIR} ${PREFIX}/info is not needed as it is in BSD.local.dist. Reviewed by: maintainer
Notes
Notes: svn path=/head/; revision=49305
Diffstat (limited to 'lang/pgcc/Makefile')
-rw-r--r--lang/pgcc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile
index cbd0e6c4f763..4e4017cdac05 100644
--- a/lang/pgcc/Makefile
+++ b/lang/pgcc/Makefile
@@ -34,7 +34,7 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
-GCC_REV= p${DISTNAME}
+GCC_REV= ${PKGNAME}
LIBSTDCPP_REV= 4
.if ${PORTOBJFORMAT} == "elf"
@@ -62,18 +62,18 @@ MAN1= cccp.1 pg++.1 pg77.1 pgcc.1
pre-patch:
@${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h
+ cd ${WRKSRC}/gcc; ${RM} -f gcc.info* cpp.info* f/g77.info*
pre-configure:
@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${SED} -e "s:__FreeBSD__[0-9=]*:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
>${WRKSRC}/gcc/config/freebsd.h )
+
+pre-install:
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/pkg-plist >${PLIST}
.endif
-pre-install:
- ${MKDIR} ${PREFIX}/info
-
post-install:
@${RM} -f ${PREFIX}/bin/c++
@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt