aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-21 17:22:42 +0800
committersobomax <sobomax@FreeBSD.org>2001-05-21 17:22:42 +0800
commit02d10138eca23f2960b5ccf4cb023541c5a3f762 (patch)
tree85c6f8928224e1a5ed055aac96bc64beb962171c /x11-toolkits
parent496fbebd47aec1b1960c1ffbbb502f7b13ef87dd (diff)
downloadfreebsd-ports-gnome-02d10138eca23f2960b5ccf4cb023541c5a3f762.tar.gz
freebsd-ports-gnome-02d10138eca23f2960b5ccf4cb023541c5a3f762.tar.zst
freebsd-ports-gnome-02d10138eca23f2960b5ccf4cb023541c5a3f762.zip
Fix PLIST when compiled with XFree86-4.
PR: 27343 Submitted by: David W. Chapman Jr. <dwcjr@inethouston.net>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/pango/Makefile10
-rw-r--r--x11-toolkits/pango/pkg-plist9
2 files changed, 18 insertions, 1 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index 6accf5bc66c1..1a14cef86659 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -27,8 +27,16 @@ CONFIGURE_ARGS= --with-qt=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 3
+PLIST_SUB+= XFREE4:="@comment "
+.else
+PLIST_SUB+= XFREE4:=""
+.endif
+
pre-patch:
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist
index 8b9a93feca88..d2b3eab583a2 100644
--- a/x11-toolkits/pango/pkg-plist
+++ b/x11-toolkits/pango/pkg-plist
@@ -14,12 +14,14 @@ include/pango-1.0/pango/pango-indic.h
include/pango-1.0/pango/pango-item.h
include/pango-1.0/pango/pango-layout.h
include/pango-1.0/pango/pango-modules.h
+%%XFREE4:%%include/pango-1.0/pango/pango-ot.h
include/pango-1.0/pango/pango-tabs.h
include/pango-1.0/pango/pango-types.h
include/pango-1.0/pango/pango-utils.h
include/pango-1.0/pango/pango.h
include/pango-1.0/pango/pangoft2.h
include/pango-1.0/pango/pangox.h
+%%XFREE4:%%include/pango-1.0/pango/pangoxft.h
lib/libpango.a
lib/libpango.so
lib/libpango.so.0
@@ -29,9 +31,14 @@ lib/libpangoft2.so.0
lib/libpangox.a
lib/libpangox.so
lib/libpangox.so.0
+%%XFREE4:%%lib/libpangoxft.a
+%%XFREE4:%%lib/libpangoxft.so
+%%XFREE4:%%lib/libpangoxft.so.0
lib/pango/modules/pango-arabic-x.so
+%%XFREE4:%%lib/pango/modules/pango-arabic-xft.so
lib/pango/modules/pango-basic-ft2.so
lib/pango/modules/pango-basic-x.so
+%%XFREE4:%%lib/pango/modules/pango-basic-xft.so
lib/pango/modules/pango-bengali-x.so
lib/pango/modules/pango-devanagari-x.so
lib/pango/modules/pango-gujarati-x.so
@@ -40,10 +47,12 @@ lib/pango/modules/pango-hangul-x.so
lib/pango/modules/pango-hebrew-x.so
lib/pango/modules/pango-myanmar-x.so
lib/pango/modules/pango-tamil-x.so
+%%XFREE4:%%lib/pango/modules/pango-tamil-xft.so
lib/pango/modules/pango-thai-x.so
libdata/pkgconfig/pango.pc
libdata/pkgconfig/pangoft2.pc
libdata/pkgconfig/pangox.pc
+%%XFREE4:%%libdata/pkgconfig/pangoxft.pc
@dirrm lib/pango/modules
@dirrm lib/pango
@dirrm include/pango-1.0/pango