summaryrefslogtreecommitdiff
path: root/converters/xdeview
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-06-19 22:14:02 +0000
committertron <tron@pkgsrc.org>1998-06-19 22:14:02 +0000
commit162ed75e6a77a0298cd9b6401118ced9773aac58 (patch)
treea91cbfdd880454b230bb513b2a0b6dbeef103d0b /converters/xdeview
parent45873e7d30a0e99ff4fa4fe12cfe868e19250743 (diff)
downloadpkgsrc-162ed75e6a77a0298cd9b6401118ced9773aac58.tar.gz
Add "USE_X11" as suggested by Tim Rightnour in PR pkg/5612.
Diffstat (limited to 'converters/xdeview')
-rw-r--r--converters/xdeview/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile
index 66339ad9720..118c54e149f 100644
--- a/converters/xdeview/Makefile
+++ b/converters/xdeview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/06/03 12:40:09 agc Exp $
+# $NetBSD: Makefile,v 1.8 1998/06/19 22:14:02 tron Exp $
# FreeBSD Id: Makefile,v 1.11 1998/02/24 21:43:45 jseger Exp
#
@@ -13,11 +13,13 @@ MAINTAINER= packages@netbsd.org
DEPENDS+= tk-8.0p2:../../x11/tk80
DEPENDS+= uulib-0.5.13:../../converters/uulib
+USE_X11= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-tcl="${PREFIX}" --enable-tk="${PREFIX}"
+CONFIGURE_ARGS= --enable-tcl="${LOCALBASE}" --enable-tk="${LOCALBASE}"
# Season to taste --- anything over tcl7.5
CONFIGURE_ENV= LDFLAGS=-s \
- CPPFLAGS="-I${PREFIX}/include/tcl8.0 -I${PREFIX}/include/tk8.0"
+ CPPFLAGS="-I${LOCALBASE}/include/tcl8.0 \
+ -I${LOCALBASE}/include/tk8.0"
ALL_TARGET= xdeview
INSTALL_TARGET= install-tcl
@@ -29,13 +31,9 @@ DOCFILES= ${FILESDIR}/porting.notes ${WRKSRC}/HOWTO
.include "../../mk/bsd.prefs.mk"
post-install:
-.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
@${MKDIR} ${PREFIX}/${PORTDOCDIR}
${INSTALL_MAN} ${DOCFILES} ${PREFIX}/${PORTDOCDIR}
-.else
- @${ECHO_MSG} "===> Not copying available documents"
-.endif
${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"