summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/prekin/files/6.51.081122-Makefile.patch')
-rw-r--r--sci-chemistry/prekin/files/6.51.081122-Makefile.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch
deleted file mode 100644
index b562f27e51d3..000000000000
--- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/Makefile.linux
-+++ b/Makefile.linux
-@@ -1,15 +1,15 @@
- #
--CFLAGS = -I/usr/X11R6/include
-+CFLAGS += -I/usr/X11R6/include
-
- ifeq ($(MAKECMDGOALS),debug)
- CFLAGS = -g -I/usr/X11R6/include
- endif
-
--LIBS = -L/usr/lib -L/usr/X11R6/lib -lXmu -lXm -lXt -lSM -lICE -lXext -lX11
-+LIBS = -L/usr/GENTOOLIBDIR -L/usr/X11R6/lib -lXmu -lXm -lXt -lSM -lICE -lXext -lX11
-
- ifeq ($(MAKECMDGOALS),nogui)
--CFLAGS = -D NOGUI -I/usr/X11R6/include
--LIBS = -L/usr/lib -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE -lXext -lX11
-+CFLAGS += -D NOGUI -I/usr/X11R6/include
-+LIBS = -L/usr/GENTOOLIBDIR -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE -lXext -lX11
- endif
-
- FIN = -lm -pthread #for RH9.0, ok for RH7.3 & RH8.0
-@@ -26,13 +26,13 @@ OBJS = PKINANGL.o PKINCRTL.o PKINCSBS.o PKINCSUB.o PKINCOUT.o PKINMENU.o PKINROT
- # Commands specific to clients created by this Makefile
-
- prekin: $(OBJS)
-- cc -o prekin $(CFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-+ cc -o prekin $(CFLAGS) $(LDFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-
- debug: $(OBJS)
-- cc -o prekin $(CFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-+ cc -o prekin $(CFLAGS) $(LDFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-
- nogui: $(OBJS)
-- cc -o prekin $(CFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-+ cc -o prekin $(CFLAGS) $(LDFLAGS) $(OBJS) -L/usr/X11R6/lib $(LIBS) -ldl $(FIN)
-
- clean:
- rm *.o