diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-03-05 13:02:16 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-03-05 13:02:16 +0000 |
commit | fcd089c18580deb3e6c0422996ffb43c9b0940f6 (patch) | |
tree | 3fe1cc856ce543dbeb96b14b9db80a181e6c8393 /devel/libgii/Makefile | |
parent | 546cc0a65758a69999fa8d855df9f74944cb71f5 (diff) | |
download | ports-fcd089c18580deb3e6c0422996ffb43c9b0940f6.tar.gz ports-fcd089c18580deb3e6c0422996ffb43c9b0940f6.zip |
Notes
Diffstat (limited to 'devel/libgii/Makefile')
-rw-r--r-- | devel/libgii/Makefile | 14 |
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 |