View | Details | Raw Unified | Return to bug 44977
Collapse All | Expand All

(-)print/mpage/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	mpage
8
PORTNAME=	mpage
9
PORTVERSION=	2.5.2
9
PORTVERSION=	2.5.3
10
PORTREVISION=	1
11
CATEGORIES=	print
10
CATEGORIES=	print
12
MASTER_SITES=	ftp://ftp.mesa.nl/pub/mpage/
11
MASTER_SITES=	ftp://ftp.mesa.nl/pub/mpage/
13
EXTRACT_SUFX=	.tgz
12
EXTRACT_SUFX=	.tgz
(-)print/mpage/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (mpage-2.5.2.tgz) = a79ac73c3bfe19e6cb72dcbd90a2fccc
1
MD5 (mpage-2.5.3.tgz) = 4724dcba203100384b4611be8adc900c
(-)print/mpage/files/patch-aa (-6 / +6 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	Thu Jan 24 20:12:59 2002
1
--- Makefile.orig	Mon Oct 21 03:46:44 2002
2
+++ Makefile	Sun Apr 14 03:46:23 2002
2
+++ Makefile	Sat Nov  2 16:41:52 2002
3
@@ -24,7 +24,6 @@
3
@@ -24,7 +24,6 @@
4
 # Set this to an ANSI compatible C compiler (preferably gcc)
4
 # Set this to an ANSI compatible C compiler (preferably gcc)
5
 # See also system specific settings below
5
 # See also system specific settings below
Lines 13-27 Link Here
13
 
13
 
14
 # PREFIX=e:/usr		# OS/2 type
14
 # PREFIX=e:/usr		# OS/2 type
15
-PREFIX=/usr/local
15
-PREFIX=/usr/local
16
 #PREFIX=/usr
16
 BINDIR=$(PREFIX)/bin
17
 BINDIR=$(PREFIX)/bin
17
 LIBDIR=$(PREFIX)/share
18
 LIBDIR=$(PREFIX)/share
18
 MANDIR=$(PREFIX)/man/man1
19
@@ -106,8 +104,11 @@
19
@@ -101,8 +99,11 @@
20
 # Choose one of the following CFLAGS/CC definitions:
20
 # Choose one of the following CFLAGS/CC definitions:
21
 # If you are using gcc, you probably don't need to change anything here.
21
 # If you are using gcc, you probably don't need to change anything here.
22
 
22
 
23
+# FreeBSD:
23
+# FreeBSD:
24
+CFLAGS+=	-s $(DEFS)
24
+CFLAGS += $(DEFS)
25
+
25
+
26
 # Linux:
26
 # Linux:
27
-CFLAGS = -O2 -s $(DEFS) -Wall
27
-CFLAGS = -O2 -s $(DEFS) -Wall
Lines 29-35 Link Here
29
 
29
 
30
 # AIX (xlC on aix 4):
30
 # AIX (xlC on aix 4):
31
 #CFLAGS = -O2 -s $(DEFS)
31
 #CFLAGS = -O2 -s $(DEFS)
32
@@ -170,7 +171,6 @@
32
@@ -177,7 +178,6 @@
33
 	if [ ! -d $(LIBDIR)/mpage ] ; then mkdir -p $(LIBDIR)/mpage ; fi
33
 	if [ ! -d $(LIBDIR)/mpage ] ; then mkdir -p $(LIBDIR)/mpage ; fi
34
 	if [ ! -d $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
34
 	if [ ! -d $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
35
 	if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
35
 	if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
(-)print/mpage/files/patch-args.c (-13 lines)
Lines 1-13 Link Here
1
2
$FreeBSD: ports/print/mpage/files/patch-args.c,v 1.1 2002/08/02 11:25:11 naddy Exp $
3
4
--- args.c.orig	Fri Aug  2 13:16:25 2002
5
+++ args.c	Fri Aug  2 13:17:06 2002
6
@@ -442,7 +442,6 @@
7
         libdir = env;
8
 
9
     if ((env = getenv("MPAGE")) != NULL) {
10
-        strcpy(copy, env);
11
         if ((copy = strdup(env)) == NULL) {
12
             fprintf(stderr, "%s: Unable to alloc memory for environment args\n",
13
                     MPAGE);

Return to bug 44977