aboutsummaryrefslogtreecommitdiffstats
path: root/java
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
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')
-rw-r--r--java/jc/Makefile3
-rw-r--r--java/jc/pkg-plist1
2 files changed, 3 insertions, 1 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>
diff --git a/java/jc/pkg-plist b/java/jc/pkg-plist
index c92b044c8083..3f2c4fb33065 100644
--- a/java/jc/pkg-plist
+++ b/java/jc/pkg-plist
@@ -3,6 +3,5 @@ bin/jc
bin/jcgen
bin/jcjavah
etc/jc.conf
-lib/libjc.a
lib/libjc.so
lib/libjc.so.1