aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/lesstif/Makefile20
-rw-r--r--x11-toolkits/lesstif/pkg-plist8
2 files changed, 13 insertions, 15 deletions
diff --git a/x11-toolkits/lesstif/Makefile b/x11-toolkits/lesstif/Makefile
index 220f1212db40..9737244caf85 100644
--- a/x11-toolkits/lesstif/Makefile
+++ b/x11-toolkits/lesstif/Makefile
@@ -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 \
diff --git a/x11-toolkits/lesstif/pkg-plist b/x11-toolkits/lesstif/pkg-plist
index cd3be5cdd413..26362091002d 100644
--- a/x11-toolkits/lesstif/pkg-plist
+++ b/x11-toolkits/lesstif/pkg-plist
@@ -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