aboutsummaryrefslogtreecommitdiff
path: root/devel/libgii
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgii')
-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