summaryrefslogtreecommitdiff
path: root/print/asprint
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:14:38 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:14:38 +0000
commitfb93fc598bb9a507e903e91a8cbb0f991b4067ba (patch)
tree3722933f165cbda64606a8f4478ca6fb1e915188 /print/asprint
parent- Change distfile location. (diff)
- Use MASTER_SITE_AFTERSTEP to MASTER_SITES
PR: 19468 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'print/asprint')
-rw-r--r--print/asprint/Makefile3
-rw-r--r--print/asprint/files/patch-aa13
2 files changed, 10 insertions, 6 deletions
diff --git a/print/asprint/Makefile b/print/asprint/Makefile
index ce21542234c8..c71a808d455d 100644
--- a/print/asprint/Makefile
+++ b/print/asprint/Makefile
@@ -8,7 +8,8 @@
PORTNAME= asprint
PORTVERSION= 1.0
CATEGORIES= print
-MASTER_SITES= ftp://ftp.afterstep.org/apps/asprint/
+MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
+MASTER_SITE_SUBDIR= apps/asprint
DISTNAME= asprint
MAINTAINER= brett@peloton.runet.edu
diff --git a/print/asprint/files/patch-aa b/print/asprint/files/patch-aa
index 218c399741ae..756ef0f0d9bc 100644
--- a/print/asprint/files/patch-aa
+++ b/print/asprint/files/patch-aa
@@ -1,11 +1,14 @@
---- makefile.orig Fri Mar 14 04:34:48 1997
-+++ makefile Mon Oct 12 19:17:11 1998
-@@ -2,17 +2,18 @@
+--- makefile.orig Fri Mar 14 19:34:48 1997
++++ makefile Wed Jun 21 02:59:31 2000
+@@ -1,18 +1,19 @@
+ .KEEP_STATE:
- CFLAGS = -O2
- CC = gcc
+-CFLAGS = -O2
+-CC = gcc
-XLIB = -L/usr/X11/lib -lXaw3d -lXmu -lXt
-
++CFLAGS ?= -O2
++CC ?= gcc
+XLIB = -L$(X11BASE)/lib -lXaw -lXmu -lXt
+.if $(PORTOBJFORMAT) == "elf"
+XLIB+= -Wl,-rpath,$(X11BASE)/lib