Updating the astro/XEphem port

Josh Paetzel josh at tcbug.org
Mon Nov 28 00:08:07 GMT 2005


I seem to be having trouble upgrading the astro/xephem port.  There is 
a patch in ./files named patch-aa

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patch.html

"Each set of patches you wish to apply should be collected into a file 
named patch-* where * indicates the pathnames of the files that are 
patched."


The contents of patch-aa:

gimpy# cat patch-aa
--- 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

I can't seem to find a relevant Imakefile.orig or Imakefile

My problem is that when I bump the version in the Makefile and update 
distinfo then make dies with the following error:

gimpy# make
===>  Patching for xephem-3.7.1
===>  Applying FreeBSD patches for xephem-3.7.1
File to patch: Imakefile
No file found--skip this patch? [n]
File to patch: Imakefile.orig
No file found--skip this patch? [n] y
1 out of 1 hunks ignored--saving rejects to Imakefile.orig.rej
=> Patch patch-aa failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/astro/xephem.

Thanks very much for a kick in the right direction. :)

-- 
Thanks,

Josh Paetzel


More information about the freebsd-ports mailing list