aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xephem/files
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2005-12-06 02:32:20 +0800
committerosa <osa@FreeBSD.org>2005-12-06 02:32:20 +0800
commitb77ac99c742be4bc2e5238577cb854421f69abda (patch)
tree43ae0d0a976d45bce380b4e200847acf5fceffed /astro/xephem/files
parent32654dd9b684e74ea15c79eff12f87a2c979b5b7 (diff)
downloadfreebsd-ports-gnome-b77ac99c742be4bc2e5238577cb854421f69abda.tar.gz
freebsd-ports-gnome-b77ac99c742be4bc2e5238577cb854421f69abda.tar.zst
freebsd-ports-gnome-b77ac99c742be4bc2e5238577cb854421f69abda.zip
Update to 3.7.1.
Increase port building by skip building inside png, jpeg and z libraries, use stock libraries from ports tree. Use X prefix. SHA256fy. Make portlint(1) happy. Approved by: Josh Paetzel <josh at tcbug dot org> (maintainer)
Diffstat (limited to 'astro/xephem/files')
-rw-r--r--astro/xephem/files/patch-Makefile35
-rw-r--r--astro/xephem/files/patch-aa11
2 files changed, 35 insertions, 11 deletions
diff --git a/astro/xephem/files/patch-Makefile b/astro/xephem/files/patch-Makefile
new file mode 100644
index 000000000000..673b479aa707
--- /dev/null
+++ b/astro/xephem/files/patch-Makefile
@@ -0,0 +1,35 @@
+--- Makefile.orig Fri Nov 18 16:43:09 2005
++++ Makefile Mon Dec 5 12:58:21 2005
+@@ -10,9 +10,9 @@
+ # back here and compile and link all the *.c files into one executable, xephem.
+
+ # -I and -L flags to find required supporting XEphem libraries
+-LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz
+-LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz
+-LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz
++LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I%%LOCALBASE%%/include
++LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L%%LOCALBASE%%/lib
++LIBLIB = -lastro -lip -llilxml -ljpeg -lpng -lz
+
+ # MOTIFI is the directory containing the Xm directory of include files.
+ # MOTIFL is the directory containing the libXm.a library.
+@@ -31,7 +31,7 @@
+
+ # for linux and Apple OS X
+ CC = gcc
+-CLDFLAGS = -g
++#CLDFLAGS = -g
+ CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include
+ LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib
+ XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lSM -lICE -lXmu -lX11
+@@ -181,10 +181,7 @@
+ libs:
+ cd ../../libastro; make
+ cd ../../libip; make
+- cd ../../libjpegd; make
+ cd ../../liblilxml; make
+- cd ../../libpng; make
+- cd ../../libz; make
+
+ clean:
+ touch x.o
diff --git a/astro/xephem/files/patch-aa b/astro/xephem/files/patch-aa
deleted file mode 100644
index 8114dbe128ea..000000000000
--- a/astro/xephem/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Imakefile.orig Tue Mar 16 09:00:21 1999
-+++ Imakefile Sun Apr 4 15:06:31 1999
-@@ -63,7 +63,7 @@
- SRCS = $(OBJS:.o=.c)
-
- XCOMM Sometimes you need -lXp after -lXm
-- XMLIB = -lXm
-+ XMLIB = ${MOTIFLIB}
- DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
- EXTRA_INCLUDES = -I../../libastro
- LOCAL_LDFLAGS = -L../../libastro