summaryrefslogtreecommitdiff
path: root/graphics/libggi/Makefile
diff options
context:
space:
mode:
authorskrll <skrll>2002-01-11 11:47:54 +0000
committerskrll <skrll>2002-01-11 11:47:54 +0000
commit8da3579a784f80b709d563f5698fdd67f0dc85ef (patch)
treea4acafbe628d29e2de995bd2063b1a5d43455bd9 /graphics/libggi/Makefile
parent55a1cc87047738205748fb90e5aa977ab4addd77 (diff)
downloadpkgsrc-8da3579a784f80b709d563f5698fdd67f0dc85ef.tar.gz
Various tidy ups:
o Use pkgsrc libtool not internal one - we caught up with the internal one ages ago. o Remove BUILD_DEPENDS on autoconf - the configure{,.in} hacks will probably disappear if someone buildlinkifies this pkg. o Sort PLIST
Diffstat (limited to 'graphics/libggi/Makefile')
-rw-r--r--graphics/libggi/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index 4de16a6425c..e8e12b9623e 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/08/27 14:35:09 tron Exp $
+# $NetBSD: Makefile,v 1.14 2002/01/11 11:47:54 skrll Exp $
#
DISTNAME= libggi-2.0b2.1
@@ -13,23 +13,18 @@ BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
DEPENDS+= ncurses>=4.2:../../devel/ncurses
DEPENDS+= libgii-0.6:../libgii
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--disable-debug \
- --with-x \
- --with-extra-includes=${LOCALBASE}/include \
- --with-extra-libs="${X11BASE}/lib -Wl,-R${X11BASE}/lib"
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= \
+ --disable-debug \
+ --with-x \
+ --with-extra-includes=${LOCALBASE}/include \
+ --with-extra-libs="${X11BASE}/lib -Wl,-R${X11BASE}/lib"
PLIST_SRC= ${WRKDIR}/PLIST
-pre-configure:
- cd ${WRKSRC}; autoconf
-
post-configure:
- cd ${WRKSRC}; \
- [ -f configure.BAK ] || ${CP} configure configure.BAK; \
- ${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 \