aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-05 21:02:16 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-05 21:02:16 +0800
commit7a3858dba08e2c0b48d37613850763ba137d54c1 (patch)
tree1edea3a553c1bc09f7fe91491e33ae3b8176dd14
parent96456b678cfd62ea464b42b45d2135b2b3943982 (diff)
downloadfreebsd-ports-gnome-7a3858dba08e2c0b48d37613850763ba137d54c1.tar.gz
freebsd-ports-gnome-7a3858dba08e2c0b48d37613850763ba137d54c1.tar.zst
freebsd-ports-gnome-7a3858dba08e2c0b48d37613850763ba137d54c1.zip
- Fix package for non-i386
-rw-r--r--devel/libgii/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile
index 9cc6af5f4269..e4808901d00d 100644
--- a/devel/libgii/Makefile
+++ b/devel/libgii/Makefile
@@ -24,13 +24,6 @@ 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=""
@@ -70,6 +63,13 @@ EXAMPLES= demos/demo.c demos/filter.c \
.include <bsd.port.pre.mk>
+.if !exists(/usr/include/vgl.h) || ${MACHINE_ARCH} != "i386"
+CONFIGURE_ARGS+= --disable-vgl
+PLIST_SUB+= VGL="@comment "
+.else
+PLIST_SUB+= VGL=""
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's/\(deplibs\) -lc/\1/;' ${WRKSRC}/libtool