From 521807d38becba50804a00710cfa1b51c759a4f4 Mon Sep 17 00:00:00 2001 From: asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk. --- devel/ilu/Makefile | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'devel/ilu') diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile index 30e062d3dc46..59b55fbd0230 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.12 1998/10/08 16:37:18 cracauer Exp $ +# $Id: Makefile,v 1.13 1998/10/08 18:48:56 cracauer Exp $ # DISTNAME= ilu-2.0alpha12 @@ -25,6 +25,22 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}/ilu INSTALL_TARGET= Install PLIST= ${WRKSRC}/PLIST +.include + +.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 + # Startup script, run at boot time startup_dir= ${PREFIX}/etc/rc.d startup_script= ${startup_dir}/50.ilu.sh @@ -63,18 +79,4 @@ do-install: chmod 755 ${startup_script}; ${startup_script} -.include - -.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 +.include -- cgit