aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/lfview
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-03-14 18:13:28 +0800
committerflz <flz@FreeBSD.org>2005-03-14 18:13:28 +0800
commit930267406d0aa9e81bee66527f0190529f995a6a (patch)
treecb146cffbf12d52d7fbbef0ab7cd36f3d1ba84a5 /graphics/lfview
parent18c2c99b596be0182087424119cd37155729b1ea (diff)
downloadfreebsd-ports-gnome-930267406d0aa9e81bee66527f0190529f995a6a.tar.gz
freebsd-ports-gnome-930267406d0aa9e81bee66527f0190529f995a6a.tar.zst
freebsd-ports-gnome-930267406d0aa9e81bee66527f0190529f995a6a.zip
- Fix build on amd64.
- Polish packing list. PR: ports/78790 Submitted by: Johan van Selst <johans@stack.nl>
Diffstat (limited to 'graphics/lfview')
-rw-r--r--graphics/lfview/Makefile3
-rw-r--r--graphics/lfview/pkg-plist6
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/lfview/Makefile b/graphics/lfview/Makefile
index 1a2512536c61..e680a26aa56d 100644
--- a/graphics/lfview/Makefile
+++ b/graphics/lfview/Makefile
@@ -21,7 +21,8 @@ NO_INSTALL_MANPAGES= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
-BROKEN= "Does not compile on amd64 (-fPIC missing)"
+CFLAGS+= -fPIC
+MAKE_ENV= "SHLIBGLOBALSFLAGS=-fPIC"
.endif
do-install:
diff --git a/graphics/lfview/pkg-plist b/graphics/lfview/pkg-plist
index 950119c2f792..0d4720fe7988 100644
--- a/graphics/lfview/pkg-plist
+++ b/graphics/lfview/pkg-plist
@@ -1,5 +1,5 @@
bin/lfview
-share/doc/ja/lfview/README
-@dirrm share/doc/ja/lfview
-lib/liblfv_leaf.so.1
lib/liblfv_leaf.so
+lib/liblfv_leaf.so.1
+%%PORTDOCS%%share/doc/ja/lfview/README
+%%PORTDOCS%%@dirrm share/doc/ja/lfview