svn commit: r378782 - head/emulators/xsystem35
Jan Beich
jbeich at FreeBSD.org
Tue Feb 10 16:36:41 UTC 2015
Author: jbeich
Date: Tue Feb 10 16:36:39 2015
New Revision: 378782
URL: https://svnweb.freebsd.org/changeset/ports/378782
QAT: https://qat.redports.org/buildarchive/r378782/
Log:
Unbundle libltdl
Differential Revision: https://reviews.freebsd.org/D1816
Reviewed by: tijl
Approved by: mentors (implicit)
Modified:
head/emulators/xsystem35/Makefile
Modified: head/emulators/xsystem35/Makefile
==============================================================================
--- head/emulators/xsystem35/Makefile Tue Feb 10 16:32:31 2015 (r378781)
+++ head/emulators/xsystem35/Makefile Tue Feb 10 16:36:39 2015 (r378782)
@@ -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.
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,e
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/${PORTNA
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}
More information about the svn-ports-all
mailing list