pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/mg2a
Module Name: pkgsrc
Committed By: jperkin
Date: Tue May 9 14:46:55 UTC 2017
Modified Files:
pkgsrc/editors/mg2a: Makefile distinfo
pkgsrc/editors/mg2a/patches: patch-af
Added Files:
pkgsrc/editors/mg2a/patches: patch-sys_sysv_Makefile
Log Message:
Requires curses. Sync build options to the SunOS Makefile. Fix build flags.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/editors/mg2a/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/editors/mg2a/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/editors/mg2a/patches/patch-af
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/mg2a/patches/patch-sys_sysv_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/mg2a/Makefile
diff -u pkgsrc/editors/mg2a/Makefile:1.14 pkgsrc/editors/mg2a/Makefile:1.15
--- pkgsrc/editors/mg2a/Makefile:1.14 Wed Oct 3 11:43:37 2012
+++ pkgsrc/editors/mg2a/Makefile Tue May 9 14:46:55 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2012/10/03 11:43:37 asau Exp $
+# $NetBSD: Makefile,v 1.15 2017/05/09 14:46:55 jperkin Exp $
DISTNAME= mg2a
PKGNAME= mg2a-1.11
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ftp://ftp.wustl.edu/languages/c/unix-c/editors/
EXTRACT_SUFX= .tar.Z
@@ -27,4 +27,5 @@ do-install:
${INSTALL_MAN} ${FILESDIR}/mg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/mg.rc ${DESTDIR}${PREFIX}/bin/mg.rc
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/editors/mg2a/distinfo
diff -u pkgsrc/editors/mg2a/distinfo:1.12 pkgsrc/editors/mg2a/distinfo:1.13
--- pkgsrc/editors/mg2a/distinfo:1.12 Tue Nov 3 03:32:18 2015
+++ pkgsrc/editors/mg2a/distinfo Tue May 9 14:46:55 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 03:32:18 agc Exp $
+$NetBSD: distinfo,v 1.13 2017/05/09 14:46:55 jperkin Exp $
SHA1 (mg2a.tar.Z) = c96f890f217eaacb78117f9c73f1ea3709ca8d3f
RMD160 (mg2a.tar.Z) = 7083ec8b49eb89d1389dabfb915859af2bb40ee1
@@ -9,7 +9,7 @@ SHA1 (patch-ab) = 8d39fe754a6e7f92a8c5af
SHA1 (patch-ac) = 6ef1d0bc88241756cdd3a66050ebfaaf353edcdb
SHA1 (patch-ad) = d83892a713d75d830f553e58632d2fde55e53cc4
SHA1 (patch-ae) = 13c976df16c34acffc14615d29ad91a3bdacd716
-SHA1 (patch-af) = fa6e22c0d2c12ca349af2887b606954e4e016269
+SHA1 (patch-af) = 25270ccd23643cfb5b8da10bc069d9b63d9e5a09
SHA1 (patch-ag) = e8bcbc0cba9cdf989b93d280e108de167281f262
SHA1 (patch-ah) = 1041e9060e70fbe3e483823a4ab38018c8ce2069
SHA1 (patch-ai) = fc3d195c0fb3c68cac29c0d7506068b5bca9a847
@@ -22,3 +22,4 @@ SHA1 (patch-ap) = 49aca14c3ee0b1c3c84f39
SHA1 (patch-aq) = 1deef2a00054de186cd73f7d864c5764a41dc2b0
SHA1 (patch-as) = bcdca9ca43ab34f51a623a5f0f385e62ce7125bf
SHA1 (patch-at) = c585ce4f8cea93faf55de2c144167dc678bb0d62
+SHA1 (patch-sys_sysv_Makefile) = 2e307a00ce7d8eae4d1c41488fd11b4b7e1c2eaa
Index: pkgsrc/editors/mg2a/patches/patch-af
diff -u pkgsrc/editors/mg2a/patches/patch-af:1.3 pkgsrc/editors/mg2a/patches/patch-af:1.4
--- pkgsrc/editors/mg2a/patches/patch-af:1.3 Sun Jan 7 00:41:30 2007
+++ pkgsrc/editors/mg2a/patches/patch-af Tue May 9 14:46:55 2017
@@ -1,17 +1,19 @@
-$NetBSD: patch-af,v 1.3 2007/01/07 00:41:30 rillig Exp $
+$NetBSD: patch-af,v 1.4 2017/05/09 14:46:55 jperkin Exp $
---- sys/bsd/Makefile.orig Wed May 31 16:36:29 2000
-+++ sys/bsd/Makefile Wed May 31 16:36:31 2000
-@@ -17,7 +17,7 @@
+--- sys/bsd/Makefile.orig 1988-07-03 17:50:59.000000000 +0000
++++ sys/bsd/Makefile
+@@ -17,8 +17,8 @@ LIBS = -ltermcap
# REGEX -- create regular expression functions
#
#CDEFS = -DDO_METAKEY
-CDEFS = -DDO_METAKEY -DPREFIXREGION
+-CFLAGS = -g $(CDEFS)
+CDEFS = -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK
- CFLAGS = -g $(CDEFS)
++CFLAGS += $(CDEFS)
# Objects which only depend on the "standard" includes
-@@ -42,8 +42,14 @@
+ OBJS = basic.o dir.o dired.o file.o line.o match.o paragraph.o \
+@@ -42,8 +42,14 @@ SRCS = basic.c dir.c dired.c file.c line
OINCS = ttydef.h sysdef.h chrdef.h
INCS = def.h
@@ -23,11 +25,11 @@ $NetBSD: patch-af,v 1.3 2007/01/07 00:41
+
mg: $(OBJ)
- cc $(CFLAGS) -o mg $(OBJ) $(LIBS)
-+ gcc $(CFLAGS) -o mg $(OBJ) $(LIBS)
++ gcc $(CFLAGS) -o mg $(OBJ) $(LDFLAGS) $(LIBS)
# strip mg once you're satisfied it'll run -- makes it much smaller
strip:
-@@ -75,44 +81,52 @@
+@@ -75,44 +81,52 @@ echo.o: $(INCS) $(OINCS) key.h macro.h
$(OOBJS): $(INCS) $(OINCS)
sysdef.h: sys/$(SYS)/sysdef.h # Update links, if needed.
Added files:
Index: pkgsrc/editors/mg2a/patches/patch-sys_sysv_Makefile
diff -u /dev/null pkgsrc/editors/mg2a/patches/patch-sys_sysv_Makefile:1.1
--- /dev/null Tue May 9 14:46:55 2017
+++ pkgsrc/editors/mg2a/patches/patch-sys_sysv_Makefile Tue May 9 14:46:55 2017
@@ -0,0 +1,26 @@
+$NetBSD: patch-sys_sysv_Makefile,v 1.1 2017/05/09 14:46:55 jperkin Exp $
+
+Sync options with sys/bsd/Makefile, use pkgsrc vars.
+
+--- sys/sysv/Makefile.orig 1988-07-03 17:51:04.000000000 +0000
++++ sys/sysv/Makefile
+@@ -18,8 +18,8 @@ LIBS = -lcurses
+ # REGEX -- create regular expression functions
+ #
+ #CDEFS = -DDO_METAKEY
+-CDEFS = -DDO_METAKEY -DPREFIXREGION
+-CFLAGS = -g $(CDEFS)
++CDEFS = -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK
++CFLAGS += $(CDEFS)
+
+ # Objects which only depend on the "standard" includes
+ OBJS = basic.o dir.o dired.o file.o line.o match.o paragraph.o \
+@@ -44,7 +44,7 @@ OINCS = ttydef.h sysdef.h chrdef.h
+ INCS = def.h
+
+ mg: $(OBJ)
+- cc $(CFLAGS) -o mg $(OBJ) $(LIBS)
++ cc $(CFLAGS) -o mg $(OBJ) $(LDFLAGS) $(LIBS)
+
+ # strip mg once you're satisfied it'll run -- makes it much smaller
+ strip:
Home |
Main Index |
Thread Index |
Old Index