mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix pstoedit detection in configure script, pstoedit switched to pkg-config
recently - Style PR: ports/111400 Reported by: bf <bf2006a@yahoo.com>
This commit is contained in:
parent
f9205d3f3e
commit
bda5588150
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193579
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= autotrace
|
||||
PORTVERSION= 0.31.1
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -21,7 +21,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
pstoedit.0:${PORTSDIR}/graphics/pstoedit
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
|
||||
@ -29,9 +29,12 @@ USE_XLIB= yes
|
||||
|
||||
MAN1= autotrace.1
|
||||
|
||||
pre-patch:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e '/$$PSTOEDIT_CONFIG/ s|--version|--modversion| ; \
|
||||
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
|
||||
/^PSTOEDIT_CONFIG=/ s|=.*$$|=pkg-config| ' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure 2002/09/12 11:32:09 1.1
|
||||
+++ configure 2002/09/12 11:32:32
|
||||
@@ -6509,6 +6509,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
Loading…
Reference in New Issue
Block a user