diff options
author | Martin Cracauer <cracauer@FreeBSD.org> | 1998-10-08 16:37:20 +0000 |
---|---|---|
committer | Martin Cracauer <cracauer@FreeBSD.org> | 1998-10-08 16:37:20 +0000 |
commit | 14987c5f2582a07967f1e5aa9d1422b2b3156cfe (patch) | |
tree | c566f307d2b3a698c569dbd7cd20f2e1f40fc9f3 /devel/ilu/Makefile | |
parent | General cleanup for ELF and newer -stable: (diff) |
Repair braindamaged import.
Obtained from: brain
Notes
Notes:
svn path=/head/; revision=13748
Diffstat (limited to 'devel/ilu/Makefile')
-rw-r--r-- | devel/ilu/Makefile | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile index fd635141b5a7..50a6af6f7721 100644 --- a/devel/ilu/Makefile +++ b/devel/ilu/Makefile @@ -3,7 +3,7 @@ # Date created: 29.9.1997 # Whom: cracauer@cons.org "Martin Cracauer" # -# $Id: Makefile,v 1.10 1998/08/20 21:28:09 hoek Exp $ +# $Id: Makefile,v 1.11 1998/08/22 04:45:03 hoek Exp $ # DISTNAME= ilu-2.0alpha12 @@ -11,17 +11,15 @@ PKGNAME= ilu-2.0a12 CATEGORIES= devel MASTER_SITES= ftp://parcftp.xerox.com/pub/ilu/2.0a12/ -MAINTAINER= cracauer@cons.org +PATCH_SITES= http://www2.cons.org:8000/freebsd-distfiles/ +PATCHFILES= ${DISTNAME}-patches.html.gz -NO_PACKAGE= Doesn't work with optimization enabled +MAINTAINER= cracauer@cons.org -# The official guile port is outdated. If you have 1.2 installed, remove -# --disable-guile-support -CONFIGURE_ARGS= --disable-guile-support --enable-http-protocol +CONFIGURE_ARGS= --enable-http-protocol --enable-os-threads=posix NO_WRKSUBDIR= yes HAS_CONFIGURE= yes -# Actually GNU_CONFIGURE CONFIGURE_ARGS+= --prefix=${PREFIX}/ilu INSTALL_TARGET= Install @@ -31,6 +29,9 @@ PLIST= ${WRKSRC}/PLIST startup_dir= ${PREFIX}/etc/rc.d startup_script= ${startup_dir}/50.ilu.sh +post-patch: + ${PATCH} ${PATCH_DIST_ARGS} < ${SHLIBPATCH} + do-install: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) # Empty dir, but we really need it @@ -63,3 +64,17 @@ do-install: ${startup_script} .include <bsd.port.mk> + +.if ${PORTOBJFORMAT} == "elf" +SHLIBPATCH=files/shlib-elf.patch +# The FreeBSD Java Development Kit is still in aout object format. +# You might want to enable it if you have an ELF JDK and/or build +# a seperate aout ILU runtime to use with Java. +CONFIGURE_ARGS+= --disable-java-support +.else +SHLIBPATCH=files/shlib-aout.patch +# Java support on -stable does not work (ILU runtime dumps core). +# You might want to enable it if you know what you are doing. +# Maybe taking -O out of patches/patch-1-cra-cflags help. +CONFIGURE_ARGS+= --disable-java-support +.endif |