Index: emulators/xsystem35/Makefile =================================================================== --- emulators/xsystem35/Makefile +++ emulators/xsystem35/Makefile @@ -3,7 +3,7 @@ PORTNAME= xsystem35 PORTVERSION= 1.7.2 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= emulators MASTER_SITES= http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/down/ @@ -13,14 +13,15 @@ LICENSE= GPLv2 # (or later) LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libltdl.so:${PORTSDIR}/devel/libltdl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg OPTIONS_DEFINE= ESOUND DOCS EXAMPLES +EXTRACT_AFTER_ARGS=--exclude libltdl USES= gettext gmake libtool shebangfix SHEBANG_FILES= contrib/instgame -USE_AUTOTOOLS= autoconf:env USE_GNOME= gtk12 USE_XORG= xxf86vm GNU_CONFIGURE= yes @@ -56,12 +57,13 @@ post-patch: @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL - @${REINPLACE_CMD} '/-lxpg4/d' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/-lxpg4/d' \ + -e '/INCLTDL=/d; /LTDLINCL=/d' \ + -e '/LIBLTDL=/s/=.*/="-lltdl"/' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} '/^SUBDIRS/s/ libltdl//' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|__COUNTER__|__COUNTER_H__|' ${WRKSRC}/src/counter.h -pre-configure: - (cd ${WRKSRC}/libltdl; ${AUTOCONF}) - post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR}