diff options
author | wiz <wiz@pkgsrc.org> | 2000-12-27 04:29:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-12-27 04:29:10 +0000 |
commit | 2547c005cebe008edcb8853e8501bac3418b630b (patch) | |
tree | 31179a75c9ae76b44fce20dfbcb1ea0c90d21bbf /graphics/libggi | |
parent | 6b7651eb037232b19445dfd1e2bae0607b32e9d2 (diff) | |
download | pkgsrc-2547c005cebe008edcb8853e8501bac3418b630b.tar.gz |
Fix PLIST on alpha (and other non-DGA architectures).
Diffstat (limited to 'graphics/libggi')
-rw-r--r-- | graphics/libggi/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile index 0036cf322cc..a8412ed18cd 100644 --- a/graphics/libggi/Makefile +++ b/graphics/libggi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2000/09/03 10:14:39 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2000/12/27 04:29:10 wiz Exp $ # DISTNAME= libggi-2.0b2.1 @@ -18,6 +18,8 @@ CONFIGURE_ARGS+=--disable-debug \ --with-extra-includes=${LOCALBASE}/include \ --with-extra-libs=${X11BASE}/lib +PLIST_SRC= ${WRKDIR}/PLIST + pre-configure: cd ${WRKSRC}; autoconf @@ -27,6 +29,12 @@ post-configure: ${SED} \ -e '/lib/s@-L\([a-zA-Z$/_]*\)@-Wl,-R\1 -L\1@g' \ <configure.BAK >configure + @if [ -f ${X11BASE}/include/X11/extensions/xf86dga.h ]; then \ + ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ + else \ + ${GREP} -v lib.ggi.display.xf86dga ${PKGDIR}/PLIST \ + > ${PLIST_SRC}; \ + fi post-install: cd ${PREFIX}/man/man3 ; for i in *.3ggi ; do \ |