aboutsummaryrefslogtreecommitdiffstats
path: root/java/jc/Makefile
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2005-01-13 10:47:03 +0800
committerarchie <archie@FreeBSD.org>2005-01-13 10:47:03 +0800
commite113cdb315a42e4cb49d0b4cc1eada2c74be140f (patch)
tree4e56aa65da6d8e212b80b256cfbf96aebf1ca851 /java/jc/Makefile
parent895eab61f92a20237527a574c406e3860e17bb41 (diff)
downloadfreebsd-ports-gnome-e113cdb315a42e4cb49d0b4cc1eada2c74be140f.tar.gz
freebsd-ports-gnome-e113cdb315a42e4cb49d0b4cc1eada2c74be140f.tar.zst
freebsd-ports-gnome-e113cdb315a42e4cb49d0b4cc1eada2c74be140f.zip
Fix file list: libtool seems to install the static library only on some
versions of FreeBSD.
Diffstat (limited to 'java/jc/Makefile')
-rw-r--r--java/jc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/jc/Makefile b/java/jc/Makefile
index 747445305ef7..8b3c4f824647 100644
--- a/java/jc/Makefile
+++ b/java/jc/Makefile
@@ -41,6 +41,9 @@ post-install:
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+ @if [ -f ${PREFIX}/lib/libjc.a ]; then \
+ ${ECHO} lib/libjc.a >> ${TMPPLIST}; \
+ fi
.endfor
.include <bsd.port.post.mk>