diff options
author | tron <tron> | 1998-06-02 23:46:41 +0000 |
---|---|---|
committer | tron <tron> | 1998-06-02 23:46:41 +0000 |
commit | d01b993d5bc586f70d1696f4c7034e7b33dad947 (patch) | |
tree | 144db557848877a6a8ed73a85e485f8f4726492e | |
parent | 1964effd090bfa5ebd8eeaebc5881bccb88024df (diff) | |
download | pkgsrc-d01b993d5bc586f70d1696f4c7034e7b33dad947.tar.gz |
Fix package to compile under good old NetBSD 1.3.
-rw-r--r-- | editors/nedit/Makefile | 9 | ||||
-rw-r--r-- | editors/nedit/files/Makefile.source | 9 | ||||
-rw-r--r-- | editors/nedit/files/Makefile.util | 9 | ||||
-rw-r--r-- | editors/nedit/patches/patch-ac | 10 |
4 files changed, 35 insertions, 2 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile index 07c27a4843f..5259ec2088e 100644 --- a/editors/nedit/Makefile +++ b/editors/nedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 1998/06/02 22:33:16 tron Exp $ +# $NetBSD: Makefile,v 1.2 1998/06/02 23:46:41 tron Exp $ DISTNAME= nedit_source PKGNAME= nedit-5.0.2 @@ -12,10 +12,15 @@ USE_X11= yes NO_WRKSUBDIR= yes NO_CONFIGURE= yes -ALL_TARGET= linux_nedit +ALL_TARGET= netbsd_nedit MAN1= nc.1 nedit.1 +post-extract: +.for DIR in source util + @${LN} -s ${FILESDIR}/Makefile.${DIR} ${WRKSRC}/${DIR}/Makefile.netbsd +.endfor + do-install: .for PROGRAM in nc nedit ${INSTALL_PROGRAM} ${WRKSRC}/source/${PROGRAM} ${PREFIX}/bin diff --git a/editors/nedit/files/Makefile.source b/editors/nedit/files/Makefile.source new file mode 100644 index 00000000000..ff6c47ac82e --- /dev/null +++ b/editors/nedit/files/Makefile.source @@ -0,0 +1,9 @@ +CC=cc +AR=ar + +# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS +CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD +ARFLAGS=-ur +LIBS= -L/usr/X11R6/lib -lm -lXm -lXpm -lXext -lXt -lSM -lICE -lX11 + +include Makefile.common diff --git a/editors/nedit/files/Makefile.util b/editors/nedit/files/Makefile.util new file mode 100644 index 00000000000..ff6c47ac82e --- /dev/null +++ b/editors/nedit/files/Makefile.util @@ -0,0 +1,9 @@ +CC=cc +AR=ar + +# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS +CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD +ARFLAGS=-ur +LIBS= -L/usr/X11R6/lib -lm -lXm -lXpm -lXext -lXt -lSM -lICE -lX11 + +include Makefile.common diff --git a/editors/nedit/patches/patch-ac b/editors/nedit/patches/patch-ac new file mode 100644 index 00000000000..375b9922963 --- /dev/null +++ b/editors/nedit/patches/patch-ac @@ -0,0 +1,10 @@ +--- Makefile.orig Thu Mar 19 22:20:29 1998 ++++ Makefile Wed Jun 3 01:31:53 1998 +@@ -42,3 +42,7 @@ + linux_nedit: + (cd util; $(MAKE) -f Makefile.linux libNUtil.a) + (cd source; $(MAKE) -f Makefile.linux nedit nc) ++ ++netbsd_nedit: ++ (cd util; $(MAKE) -f Makefile.netbsd libNUtil.a) ++ (cd source; $(MAKE) -f Makefile.netbsd nedit nc) |