pkgsrc-wip/swi-prolog-lite/Makefile.common
Hubert Feyrer f416f45f03 Fix the pkg to actually work. Needs some cleanup, though:
* gmake is hardcoded in a few places, as configure doesn't properly
   set MAKE=gmake. The pkg doesn't build with BSD make.
 * passing of include and library paths (both -L and -Wl,-R as well as
   via LD_RUN_PATH in at least two places) should be reviewed
 * The Cpp symbol "__unix__" isn't passed on properly into all places,
   even as it's both set via the pkgsrc CPPFLAGS variable and also (via
   a patch) in src/pl-incl.h. Most affected file is unx/process.c as
   it will still compile, but miss a few symbols that are much needed
   for the xpce shared object file. Error shows up at runtime only.
   (The file "shlib.pl" included in the pkg was provided kindly by the
   SWI-Prolog maintainer Jan Wielemaker to give better error messages).

I'd love to move the pkg over to pkgsrc/lang ASAP, please let me know
if you have any major objections or patches.
2004-04-23 20:34:57 +00:00

14 lines
417 B
Makefile

# $NetBSD: Makefile.common,v 1.3 2004/04/23 20:34:57 hubertf Exp $
SWIPLVERS= 5.2.13
DISTNAME= pl-${SWIPLVERS}
CATEGORIES= lang
MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/
HOMEPAGE= http://www.swi-prolog.org/
DIST_SUBDIR= swi-prolog
DISTINFO_FILE= ${.CURDIR}/../../wip/swi-prolog-lite/distinfo
PATCHDIR= ${.CURDIR}/../../wip/swi-prolog-lite/patches
PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}