aboutsummaryrefslogtreecommitdiffstats
path: root/lang/g95
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-03-05 09:28:28 +0800
committermaho <maho@FreeBSD.org>2007-03-05 09:28:28 +0800
commitd25c5bc89a1181fc992fe284caca73c399fb56ee (patch)
treef6b3bf733c960a00661162c6e7d9d30d7fa8e85e /lang/g95
parent052028e9757a62afd3a6fd2663d2d417f0eca6df (diff)
downloadfreebsd-ports-gnome-d25c5bc89a1181fc992fe284caca73c399fb56ee.tar.gz
freebsd-ports-gnome-d25c5bc89a1181fc992fe284caca73c399fb56ee.tar.zst
freebsd-ports-gnome-d25c5bc89a1181fc992fe284caca73c399fb56ee.zip
A possible build fix for IA64 by semi-automatical pkg-plist generation.
Submitted by: kris
Diffstat (limited to 'lang/g95')
-rw-r--r--lang/g95/Makefile8
-rw-r--r--lang/g95/pkg-plist16
2 files changed, 6 insertions, 18 deletions
diff --git a/lang/g95/Makefile b/lang/g95/Makefile
index a35d09fc090d..321ea6e2c6f9 100644
--- a/lang/g95/Makefile
+++ b/lang/g95/Makefile
@@ -37,8 +37,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-PLIST_SUB= TRIPLET=${CONFIGURE_TARGET:Q} \
- GCC_VER=${GCC_VER}
GCC_VER= 4.0.3
GCC_DIR= ${WRKDIR}/gcc-${GCC_VER}
@@ -67,5 +65,11 @@ post-install:
cd ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET:Q}/${GCC_VER} && \
${RM} -f ./${CONFIGURE_TARGET:Q} && \
${LN} -s -f . ./${CONFIGURE_TARGET:Q}
+ ${ECHO_CMD} "bin/${CONFIGURE_TARGET:Q}-g95" >> ${TMPPLIST}
+ cd ${PREFIX} ; ${FIND} -s lib/gcc-lib/${CONFIGURE_TARGET:Q}/${GCC_VER} -type f >> ${TMPPLIST}
+ cd ${PREFIX} ; ${FIND} -s lib/gcc-lib/${CONFIGURE_TARGET:Q}/${GCC_VER} -type l >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrm lib/gcc-lib/${CONFIGURE_TARGET:Q}/${GCC_VER}" >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrm lib/gcc-lib/${CONFIGURE_TARGET:Q}" >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrm lib/gcc-lib" >> ${TMPPLIST}
.include <bsd.port.post.mk>
diff --git a/lang/g95/pkg-plist b/lang/g95/pkg-plist
index 00fb38b20c47..8235b5aae717 100644
--- a/lang/g95/pkg-plist
+++ b/lang/g95/pkg-plist
@@ -1,22 +1,6 @@
@comment $FreeBSD$
bin/g95
bin/f95
-bin/%%TRIPLET%%-g95
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/cc1
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/crtbegin.o
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/crtbeginS.o
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/crtend.o
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/crtendS.o
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/f951
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/libgcc.a
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/libgcc_eh.a
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/libgcc_s.so
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/libgcc_s.so.1
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/libf95.a
-lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%/%%TRIPLET%%
-@dirrm lib/gcc-lib/%%TRIPLET%%/%%GCC_VER%%
-@dirrmtry lib/gcc-lib/%%TRIPLET%%
-@dirrmtry lib/gcc-lib
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/G95Manual.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%