summaryrefslogtreecommitdiff
path: root/editors/nedit
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 21:54:19 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 21:54:19 +0000
commit1b93e97c229cb58ea8d55e1c8d5a96e60235b89a (patch)
tree057418d54b3bbfa91b66c8d9b1695e4ca294b33f /editors/nedit
parent7f94a5ac1f673afbbb4953d05c5c68be3b28d924 (diff)
downloadpkgsrc-1b93e97c229cb58ea8d55e1c8d5a96e60235b89a.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'editors/nedit')
-rw-r--r--editors/nedit/Makefile11
-rw-r--r--editors/nedit/distinfo4
-rw-r--r--editors/nedit/patches/patch-aa8
3 files changed, 12 insertions, 11 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 69f7bd771ba..a9866a1b4cc 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/02/25 04:17:44 hubertf Exp $
+# $NetBSD: Makefile,v 1.14 2001/07/02 21:54:19 jlam Exp $
DISTNAME= nedit-5.1.1-src
PKGNAME= nedit-5.1.1
@@ -9,11 +9,10 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.nedit.org/
COMMENT= Motif based standard GUI style text editor
-USE_MOTIF= YES
-USE_XPM= YES
+USE_BUILDLINK_ONLY= YES
+ALL_TARGET= netbsd
-NO_CONFIGURE= YES
-ALL_TARGET= netbsd
+CFLAGS+= -I${X11BASE}/include
WRKSRC= ${WRKDIR}/${PKGNAME}
@@ -25,4 +24,6 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nedit
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../x11/lesstif/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/nedit/distinfo b/editors/nedit/distinfo
index 8f21399cbf8..da0a04936a7 100644
--- a/editors/nedit/distinfo
+++ b/editors/nedit/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:01:03 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/07/02 21:54:19 jlam Exp $
SHA1 (nedit-5.1.1-src.tar.gz) = 29332e39f0d5b3beb62323ea54218571c3b75960
Size (nedit-5.1.1-src.tar.gz) = 617036 bytes
-SHA1 (patch-aa) = 7387fb085a9a4cf19f033ecc73d79d3c29899e36
+SHA1 (patch-aa) = 435eee2192f7e9f40306b21ce298d04dfc8cfb7b
SHA1 (patch-ab) = 1d566822879aa6519bea91acb03cdba139edd250
diff --git a/editors/nedit/patches/patch-aa b/editors/nedit/patches/patch-aa
index 38fc07aebeb..1847c0ac981 100644
--- a/editors/nedit/patches/patch-aa
+++ b/editors/nedit/patches/patch-aa
@@ -1,15 +1,15 @@
-$NetBSD: patch-aa,v 1.7 2000/12/28 12:49:51 abs Exp $
+$NetBSD: patch-aa,v 1.8 2001/07/02 21:54:22 jlam Exp $
---- makefiles/Makefile.netbsd.orig Fri Dec 10 23:07:06 1999
+--- makefiles/Makefile.netbsd.orig Fri Dec 10 18:07:06 1999
+++ makefiles/Makefile.netbsd
@@ -2,8 +2,8 @@
AR=ar
# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
-+CFLAGS+=-O -I${X11BASE}/include -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
++CFLAGS+=-DUSE_DIRENT -DUSE_LPR_PRINT_CMD
ARFLAGS=-ur
-LIBS= -L/usr/X11R6/lib -lm -lXm -lXpm -lXext -lXt -lSM -lICE -lX11
-+LIBS= ${MOTIFLIB} -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
++LIBS= ${LDFLAGS} ${MOTIFLIB} -lm -lXpm -lXext -lXt -lSM -lICE -lX11
include Makefile.common