1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Convert to USES=libtool

- Avoid USE_AUTOTOOLS
- Fix detection of fontconfig and freetype
This commit is contained in:
Tijl Coosemans 2014-07-01 13:00:58 +00:00
parent 9bd829234f
commit cf32c04f44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359997
2 changed files with 13 additions and 15 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= lesstif
PORTVERSION= 0.95.2
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 2
CATEGORIES= x11-toolkits
MASTER_SITES= SF
@ -16,20 +16,18 @@ LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
CONFLICTS?= open-motif-*
USES= tar:bzip2
USE_AUTOTOOLS= automake:env autoconf libtool
USES= libtool tar:bzip2
USE_XORG= sm ice xt xp xext x11 xextproto xrender xft
USE_LDCONFIG= yes
LIBTOOLFILES= aclocal.m4 test/aclocal.m4
CONFIGURE_ARGS+= --enable-static --enable-shared --enable-production
CONFIGURE_ARGS+= --disable-maintainer-mode
CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static --enable-shared --enable-production \
--disable-maintainer-mode \
--with-fontconfig-lib=${LOCALBASE}/lib \
--with-freetype-lib=${LOCALBASE}/lib
post-patch:
${REINPLACE_CMD} \
-e 's|LT_HAVE_FREETYPE|FINDXFT_HAVE_FREETYPE|g' \
-e 's|LT_HAVE_XRENDER|FINDXFT_HAVE_XRENDER|g' \
${WRKSRC}/acinclude.m4
@${REINPLACE_CMD} 's,freetype/freetype.h,freetype.h,' \
${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/scripts/autoconf/ac_find_motif.m4 \

View File

@ -332,21 +332,21 @@ lib/X11/mwm/README
lib/X11/mwm/alt.map
lib/X11/mwm/system.mwmrc
lib/libDtPrint.a
lib/libDtPrint.la
lib/libDtPrint.so
lib/libDtPrint.so.1
lib/libDtPrint.so.1.0.0
lib/libMrm.a
lib/libMrm.la
lib/libMrm.so
lib/libMrm.so.2
lib/libMrm.so.2.0.1
lib/libUil.a
lib/libUil.la
lib/libUil.so
lib/libUil.so.2
lib/libUil.so.2.0.1
lib/libXm.a
lib/libXm.la
lib/libXm.so
lib/libXm.so.2
lib/libXm.so.2.0.1
man/man1/lesstif.1.gz
man/man1/ltversion.1.gz
man/man1/mwm.1.gz