aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/pango/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-05-05 02:18:56 +0800
committerahze <ahze@FreeBSD.org>2006-05-05 02:18:56 +0800
commitd1e369c6224e3d154aa88ca852ee5eacb52fb3d3 (patch)
treee2dd597ff281ead78314f3b5173ad0112c65db9d /x11-toolkits/pango/Makefile
parent407b5f47f459df5d719cc7362b8bf801fe5b6e45 (diff)
downloadfreebsd-ports-gnome-d1e369c6224e3d154aa88ca852ee5eacb52fb3d3.tar.gz
freebsd-ports-gnome-d1e369c6224e3d154aa88ca852ee5eacb52fb3d3.tar.zst
freebsd-ports-gnome-d1e369c6224e3d154aa88ca852ee5eacb52fb3d3.zip
- Fix plist if WITHOUT_X11 is defined
PR: 96785 Submitted by: sergei
Diffstat (limited to 'x11-toolkits/pango/Makefile')
-rw-r--r--x11-toolkits/pango/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index d44477ea70d9..eb73b71a949d 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -8,6 +8,7 @@
PORTNAME= pango
PORTVERSION= 1.12.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.12,} \
ftp://ftp.gtk.org/pub/gtk/v2.10/
@@ -23,7 +24,7 @@ RUN_DEPENDS= ${FONTSCALE}:${X_FONTS_TTF_PORT} \
USE_BZIP2= yes
USE_GETTEXT= yes
-USE_X_PREFIX= yes
+PREFIX?= ${X11BASE}
USE_GMAKE= yes
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
@@ -49,12 +50,15 @@ CONFIGURE_ARGS+= --with-x=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
${GLIB2_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+PLIST_SUB+= X11="@comment "
.else
+USE_XLIB+= yes
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
${GLIB2_CFLAGS} -I${LOCALBASE}/include \
-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+PLIST_SUB+= X11=""
.endif
post-install: