summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgnomeprintuimm/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-07 07:27:55 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-07 07:27:55 +0800
commitcaa460a3f0ef49f89d0bfc43209259f3e55d27e9 (patch)
tree92adac38c463b25df5b8e31b92fc9e9803384195 /x11-toolkits/libgnomeprintuimm/Makefile
parent17ddd967c80c66a25fb3bed3aa0428e02bea117d (diff)
downloadmarcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar.gz
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar.bz2
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar.lz
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar.xz
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.tar.zst
marcuscom-ports-caa460a3f0ef49f89d0bfc43209259f3e55d27e9.zip
Update the compiler and libtool macros to be in sync with the other *mm ports.
Hopefully, bland won't mind. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3820 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgnomeprintuimm/Makefile')
-rw-r--r--x11-toolkits/libgnomeprintuimm/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-toolkits/libgnomeprintuimm/Makefile b/x11-toolkits/libgnomeprintuimm/Makefile
index c8a571759..9029cbcdf 100644
--- a/x11-toolkits/libgnomeprintuimm/Makefile
+++ b/x11-toolkits/libgnomeprintuimm/Makefile
@@ -22,10 +22,11 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack lthack libgnomeprintui
+USE_GNOME= gnomeprefix gnomehack libgnomeprintui
+USE_GCC= 3.4
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
-USE_INC_LIBTOOL_VER=13
+USE_INC_LIBTOOL_VER=15
CONFIGURE_ARGS= --enable-static
PLIST_SUB= VERSION="2.5" API_VERSION="2.6"
@@ -33,4 +34,13 @@ PLIST_SUB= VERSION="2.5" API_VERSION="2.6"
post-patch:
@${REINPLACE_CMD} -e 's|2\.0|2.6|' ${WRKSRC}/tools/m4/Makefile.in
+patch-autotools:
+ @(cd ${PATCH_WRKSRC}; \
+ for file in ${LIBTOOLFILES}; do \
+ ${CP} $$file $$file.tmp; \
+ ${SED} -e "/^ltmain=/s^\$$ac_aux_dir/ltmain.sh^${LTMAIN}^g" \
+ $$file.tmp > $$file; \
+ ${RM} $$file.tmp; \
+ done);
+
.include <bsd.port.mk>