aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgii
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-27 07:12:20 +0800
committerkrion <krion@FreeBSD.org>2004-02-27 07:12:20 +0800
commit0c28ff65735a5ed857c3ef033f495862999a29b9 (patch)
tree7aece838319343654368728686221c3d3a9c760c /devel/libgii
parent18b341b77d93ad742056ceb594f8aeaa3c6cb3b2 (diff)
downloadfreebsd-ports-gnome-0c28ff65735a5ed857c3ef033f495862999a29b9.tar.gz
freebsd-ports-gnome-0c28ff65735a5ed857c3ef033f495862999a29b9.tar.zst
freebsd-ports-gnome-0c28ff65735a5ed857c3ef033f495862999a29b9.zip
- Fix package build on sparc64
- Unbreak and pet portlint - Bump PORTREVISION
Diffstat (limited to 'devel/libgii')
-rw-r--r--devel/libgii/Makefile12
-rw-r--r--devel/libgii/pkg-plist26
2 files changed, 21 insertions, 17 deletions
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile
index 7fc9a4959d89..9cc6af5f4269 100644
--- a/devel/libgii/Makefile
+++ b/devel/libgii/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgii
PORTVERSION= 0.8.4
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.0/ \
${MASTER_SITE_SOURCEFORGE}
@@ -23,6 +24,13 @@ USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+.if !exists(/usr/include/vgl.h)
+CONFIGURE_ARGS+= --disable-vgl
+PLIST_SUB+= VGL="@comment "
+.else
+PLIST_SUB+= VGL=""
+.endif
+
.if exists(/usr/include/kii/kii.h)
CONFIGURE_ARGS+= --enable-kii
PLIST_SUB+= KII=""
@@ -62,10 +70,6 @@ EXAMPLES= demos/demo.c demos/filter.c \
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Broken pkg-plist on !i386"
-.endif
-
post-configure:
@${REINPLACE_CMD} -e 's/\(deplibs\) -lc/\1/;' ${WRKSRC}/libtool
diff --git a/devel/libgii/pkg-plist b/devel/libgii/pkg-plist
index 2f8768f77f70..5b0961b29fb2 100644
--- a/devel/libgii/pkg-plist
+++ b/devel/libgii/pkg-plist
@@ -44,8 +44,8 @@ lib/ggi/input/stdin.la
lib/ggi/input/stdin.so
lib/ggi/input/tcp.la
lib/ggi/input/tcp.so
-lib/ggi/input/vgl.la
-lib/ggi/input/vgl.so
+%%VGL%%lib/ggi/input/vgl.la
+%%VGL%%lib/ggi/input/vgl.so
lib/ggi/input/x.la
lib/ggi/input/x.so
lib/ggi/input/xwin.la
@@ -56,17 +56,17 @@ lib/libgg.so.0
lib/libgii.la
lib/libgii.so
lib/libgii.so.0
-share/doc/libgii/ChangeLog
-share/doc/libgii/NEWS
-share/doc/libgii/README
-share/doc/libgii/env.txt
-share/doc/libgii/inputs.txt
-share/examples/libgii/demo.c
-share/examples/libgii/filter.c
-share/examples/libgii/mhub.c
-share/examples/libgii/xsendbut.c
-@dirrm share/examples/libgii
-@dirrm share/doc/libgii
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/env.txt
+%%PORTDOCS%%%%DOCSDIR%%/inputs.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/filter.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/mhub.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/xsendbut.c
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/ggi/input
@dirrm lib/ggi/filter
@dirrm lib/ggi