summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/asprint/Makefile4
-rw-r--r--print/asprint/files/patch-aa66
2 files changed, 30 insertions, 40 deletions
diff --git a/print/asprint/Makefile b/print/asprint/Makefile
index aff8964..b285441 100644
--- a/print/asprint/Makefile
+++ b/print/asprint/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 August 1997
# Whom: brett@peloton.physics.montana.edu
#
-# $Id: Makefile,v 1.2 1998/08/05 09:31:37 asami Exp $
+# $Id: Makefile,v 1.3 1998/10/12 12:33:23 jseger Exp $
#
DISTNAME= asprint
@@ -17,8 +17,6 @@ USE_X_PREFIX= yes
ALL_TARGET= asprint
MAKEFILE= makefile
-BROKEN_ELF= yes
-
do-install:
${INSTALL_PROGRAM} $(WRKSRC)/asprint ${PREFIX}/bin
diff --git a/print/asprint/files/patch-aa b/print/asprint/files/patch-aa
index 5072829..218c399 100644
--- a/print/asprint/files/patch-aa
+++ b/print/asprint/files/patch-aa
@@ -1,37 +1,29 @@
-*** makefile Fri Mar 14 03:34:48 1997
---- makefile Sat Aug 16 18:23:57 1997
-***************
-*** 2,18 ****
-
- CFLAGS = -O2
- CC = gcc
-! XLIB = -L/usr/X11/lib -lXaw3d -lXmu -lXt
-!
- OBJS = asprint.o
-! INCS =
-!
-! default : asprint ./makefile
-! clean:
-! rm -f $(OBJS) *~ asprint core
-
- asprint: $(OBJS)
- $(CC) -o asprint $(CFLAGS) $(OBJS) $(XLIB)
-
- .c.o:
-! $(CC) $(CFLAGS) -c $<
---- 2,16 ----
-
- CFLAGS = -O2
- CC = gcc
-! XLIB = -L/usr/X11R6/lib -lXaw -lXmu -lXt
- OBJS = asprint.o
-! INCS = -I/usr/X11R6/include
-
- asprint: $(OBJS)
- $(CC) -o asprint $(CFLAGS) $(OBJS) $(XLIB)
-
-+ clean:
-+ rm -f $(OBJS) *~ asprint core
-+
- .c.o:
-! $(CC) $(CFLAGS) -c $(INCS) $<
+--- makefile.orig Fri Mar 14 04:34:48 1997
++++ makefile Mon Oct 12 19:17:11 1998
+@@ -2,17 +2,18 @@
+
+ CFLAGS = -O2
+ CC = gcc
+-XLIB = -L/usr/X11/lib -lXaw3d -lXmu -lXt
+-
++XLIB = -L$(X11BASE)/lib -lXaw -lXmu -lXt
++.if $(PORTOBJFORMAT) == "elf"
++XLIB+= -Wl,-rpath,$(X11BASE)/lib
++.endif
+ OBJS = asprint.o
+-INCS =
+-
+-default : asprint ./makefile
+-clean:
+- rm -f $(OBJS) *~ asprint core
++INCS = -I$(X11BASE)/include
+
+ asprint: $(OBJS)
+ $(CC) -o asprint $(CFLAGS) $(OBJS) $(XLIB)
+
++clean:
++ rm -f $(OBJS) *~ asprint core
++
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) -c $(INCS) $<
OpenPOWER on IntegriCloud