ports/122399: [maintainer update] Update java/sablevm

Björn König bkoenig at alpha-tierchen.de
Thu Apr 3 08:30:04 UTC 2008


>Number:         122399
>Category:       ports
>Synopsis:       [maintainer update] Update java/sablevm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 08:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Björn König
>Release:        
>Organization:
>Environment:
>Description:
	Note that ports/122398 need to be committed first in order
	to deal with this PR.
	
	The patch below updates the port java/sablevm.
	Changes are:
	- add category 'devel'
	- add missing dependency on gettext and iconv
	- use pkg-config to determine the location of libffi headers
	- correct dependency check on sablevm-classpath

>How-To-Repeat:
	
>Fix:

	

--- java-sablevm.diff begins here ---
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index 0469f0d..7026540 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -7,8 +7,8 @@
 
 PORTNAME=	sablevm
 PORTVERSION=	1.13
-PORTREVISION=	1
-CATEGORIES=	java
+PORTREVISION=	2
+CATEGORIES=	java devel
 MASTER_SITES=	SF
 
 MAINTAINER=	bkoenig at alpha-tierchen.de
@@ -20,9 +20,13 @@ LIB_DEPENDS=	popt:${PORTSDIR}/devel/popt \
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libltdl
 USE_GMAKE=	yes
+USE_GETTEXT=	yes
+USE_ICONV=	yes
 USE_LDCONFIG=	yes
 
-CONFIGURE_ENV=	CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+USE_GNOME=	pkgconfig
+PKG_CONFIG?=	${LOCALBASE}/bin/pkg-config
+CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include `${PKG_CONFIG} libffi --cflags`" LDFLAGS="-L${LOCALBASE}/lib"
 
 OPTIONS=	SVMCP "Install SableVM classpath" ON \
 		MAN "Build and install man pages" ON
@@ -32,12 +36,11 @@ CONFLICTS=	classpath-*
 .include <bsd.port.pre.mk>
 
 .if !defined(WITHOUT_SVMCP)
-RUN_DEPENDS+=	${LOCALBASE}/share/sablevm-classpath/java/lang/Object.class:${PORTSDIR}/java/sablevm-classpath
+RUN_DEPENDS+=	${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
 .endif
 
 .if !defined(WITHOUT_MAN)
 MAN1=		java-sablevm.1 sablevm.1
-.else
 .endif
 
 post-extract:
--- java-sablevm.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list