diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-02-11 00:36:39 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-02-11 00:36:39 +0800 |
commit | 95b48a066059c32b92ad810c3f781677f1c6ced2 (patch) | |
tree | 85bfdb16914bbfeee68cfe71c93899c417554344 /emulators | |
parent | 089616753129db4e559a29f8d5562ea2e68e9da8 (diff) | |
download | freebsd-ports-gnome-95b48a066059c32b92ad810c3f781677f1c6ced2.tar.gz freebsd-ports-gnome-95b48a066059c32b92ad810c3f781677f1c6ced2.tar.zst freebsd-ports-gnome-95b48a066059c32b92ad810c3f781677f1c6ced2.zip |
Unbundle libltdl
Differential Revision: https://reviews.freebsd.org/D1816
Reviewed by: tijl
Approved by: mentors (implicit)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xsystem35/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/xsystem35/Makefile b/emulators/xsystem35/Makefile index 4020875d5073..c512a12dc26d 100644 --- a/emulators/xsystem35/Makefile +++ b/emulators/xsystem35/Makefile @@ -3,7 +3,7 @@ PORTNAME= xsystem35 PORTVERSION= 1.7.2 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= emulators games MASTER_SITES= http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/down/ @@ -13,6 +13,7 @@ COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System LICENSE= GPLv2 # (or later) LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ + libltdl.so:${PORTSDIR}/devel/libltdl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg @@ -25,9 +26,9 @@ ESOUND_CONFIGURE_ON=--enable-audio=oss,esd --with-default-output=esd MMX_BUILD_DEPENDS=nasm:${PORTSDIR}/devel/nasm MMX_CONFIGURE_ENABLE=mmx +EXTRACT_AFTER_ARGS=--exclude libltdl USES= gettext gmake libtool shebangfix SHEBANG_FILES= contrib/instgame -USE_AUTOTOOLS= autoconf:env USE_GNOME= gtk12 USE_XORG= x11 xext xxf86vm GNU_CONFIGURE= yes @@ -49,12 +50,13 @@ DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} 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} |