Fix build after base r345349

While do some cleanup of the port.

PR:		236141
This commit is contained in:
Koop Mast 2019-03-22 23:57:11 +00:00
parent e3dde7aefe
commit 54b669a6c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496605
2 changed files with 17 additions and 8 deletions

View file

@ -1,6 +1,5 @@
# Created by: Ade Lovett <ade@lovett.com>
# $FreeBSD$
# $MCom: ports/devel/libglade2/Makefile,v 1.26 2007/08/01 16:13:48 mezz Exp $
PORTNAME= libglade2
PORTVERSION= 2.6.4
@ -13,16 +12,22 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME glade library
LICENSE= LGPL20
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
USES= tar:bzip2
.if !defined(REFERENCE_PORT)
RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr
GNU_CONFIGURE= yes
USES+= gmake libtool:keepla pathfix pkgconfig
USE_GNOME= libxml2 gtk20 referencehack
USES+= gmake gnome libtool:keepla pathfix pkgconfig
USE_GNOME= cairo gdkpixbuf2 libxml2 gtk20 referencehack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc \
--with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
@ -42,11 +47,15 @@ USES+= python:2.7
PLIST_SUB+= PYTHON=""
.else
PLIST_SUB+= PYTHON="@comment "
.endif
post-patch:
post-patch-PYTHON-off:
@${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \
${WRKSRC}/configure
.endif
post-patch:
@${REINPLACE_CMD} -e 's|glib-2.0|gmodule-2.0 glib-2.0|g' \
${WRKSRC}/configure
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/libglade/2.0

View file

@ -11,6 +11,6 @@ lib/libglade-2.0.so.0
lib/libglade-2.0.so.0.0.7
libdata/pkgconfig/libglade-2.0.pc
share/xml/libglade/glade-2.0.dtd
@unexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true
@exec %%XMLCATALOG%% --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true
@postunexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true
@postexec %%XMLCATALOG%% --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true
@dir lib/libglade/2.0