summaryrefslogtreecommitdiff
path: root/misc/pybliographer
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-06-02 20:28:41 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-06-02 20:28:41 +0000
commit392aa128b51ff968e6db11f38b7ba6f6d0dedd33 (patch)
tree539bd22aa3ba684b6facf9ee9560d8d0cdb7c812 /misc/pybliographer
parentOur getaddrinfo(3) never returns EAI_NODATA on 5.2-RELEASE and (diff)
change the libtool version to use from 1.3 to 1.5
Notes
Notes: svn path=/head/; revision=136688
Diffstat (limited to 'misc/pybliographer')
-rw-r--r--misc/pybliographer/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/misc/pybliographer/Makefile b/misc/pybliographer/Makefile
index 8ed3d9f26251..7bb83a0493d2 100644
--- a/misc/pybliographer/Makefile
+++ b/misc/pybliographer/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolki
USE_GNOME= glib12 gnomehack gnomeprefix
USE_PYTHON= yes
USE_X_PREFIX= yes
-USE_INC_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
@@ -33,12 +33,9 @@ CONFIGURE_ARGS= --with-recode-prefix="${LOCALBASE}"
.include <bsd.port.pre.mk>
pre-patch:
- @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|glib-config|glib12-config|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \
- s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
+ @${REINPLACE_CMD} -e 's|glib-config|${GLIB_CONFIG}|g ; \
+ s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
+ ${WRKSRC}/configure
.if ${PYTHON_REL} >= 230
@${REINPLACE_CMD} 's|@DEFS@||g' ${WRKSRC}/compiled/Makefile.pre.in
.endif