diff --git a/x11-toolkits/gigi/Makefile b/x11-toolkits/gigi/Makefile index 0926a3af923e..967a7e216b18 100644 --- a/x11-toolkits/gigi/Makefile +++ b/x11-toolkits/gigi/Makefile @@ -42,7 +42,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libOgreMain-1.6.2.so:${PORTSDIR}/graphics/ogre3 RUN_DEPENDS+= ${LOCALBASE}/lib/libOgreMain-1.6.2.so:${PORTSDIR}/graphics/ogre3d \ ${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois PLIST_SUB+= OGRE="" -GIGI_LIBS+= GiGiOgre +GIGI_LIBS+= GiGiOgre GiGiOgrePlugin_OIS .else SCONS_ARGS+= build_ogre_driver=0 build_ogre_ois_plugin=0 PLIST_SUB+= OGRE="@comment " @@ -63,7 +63,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lib${lib}.so \ ${PREFIX}/lib/lib${lib}.so.${SHLIB_VER} cd ${PREFIX}/lib && ${LN} -sf lib${lib}.so.${SHLIB_VER} lib${lib}.so - ${INSTALL_DATA} ${WRKSRC}/${lib}.pc ${PREFIX}/libdata/pkgconfig + -[ -f ${WRKSRC}/${lib}.pc ] && ${INSTALL_DATA} ${WRKSRC}/${lib}.pc ${PREFIX}/libdata/pkgconfig .endfor maint-gen-distfile: diff --git a/x11-toolkits/gigi/pkg-plist b/x11-toolkits/gigi/pkg-plist index 4c0178296053..a1a1a20cba3d 100644 --- a/x11-toolkits/gigi/pkg-plist +++ b/x11-toolkits/gigi/pkg-plist @@ -66,6 +66,8 @@ lib/libGiGi.so lib/libGiGi.so.0 %%OGRE%%lib/libGiGiOgre.so %%OGRE%%lib/libGiGiOgre.so.0 +%%OGRE%%lib/libGiGiOgrePlugin_OIS.so +%%OGRE%%lib/libGiGiOgrePlugin_OIS.so.0 lib/libGiGiSDL.so lib/libGiGiSDL.so.0 libdata/pkgconfig/GiGi.pc