[Midnightbsd-cvs] mports: Makefile: This is a bit of an experiment.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Nov 15 00:43:21 EST 2007


Log Message:
-----------
This is a bit of an experiment.  We've set rpath locally for this port.  The upside is that itworks, but only if OpenSSL is not included in the build.  That is appended later.  This is not the fundamental problem with this build on some current systems.  The real issue is that /lib is sucked in before /usr/local/lib for gcc 4.1 libraries.  A fix would be to modify the path used to search libs for this (and other gnustep) port(s).  It now assumes freebsd6 in configure.  Interestingly we replace LDCONFIG_GCC but it doesn't seem to have any value in our or freebsd's ports system.

Modified Files:
--------------
    mports/lang/gnustep-base:
        Makefile (r1.5 -> r1.6)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/gnustep-base/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -L lang/gnustep-base/Makefile -L lang/gnustep-base/Makefile -u -r1.5 -r1.6
--- lang/gnustep-base/Makefile
+++ lang/gnustep-base/Makefile
@@ -8,8 +8,8 @@
 
 PORTNAME=	gnustep-base
 PORTVERSION=	1.14.0
-PORTREVISION=	3
-CATEGORIES=	lang devel
+PORTREVISION=	4
+CATEGORIES=	lang devel gnustep
 MASTER_SITES=	${MASTER_SITE_GNUSTEP}
 MASTER_SITE_SUBDIR=	core
 
@@ -21,10 +21,11 @@
 LIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
 
 ETCDIR=		${LOCALBASE}/etc
-USE_AUTOTOOLS=	autoconf:259
+USE_AUTOTOOLS=	autoconf:261
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-procfs --with-config-file=${PREFIX}/GNUstep.conf
-CONFIGURE_TARGET=
+CFLAGS+=	-rpath=/usr/local/lib:/usr/lib
+CONFIGURE_TARGET= ${ARCH}-portbld-freebsd6.0
 USE_GMAKE=	yes
 USE_GNUSTEP=	yes
 USE_GNUSTEP_PREFIX=	yes
@@ -38,6 +39,7 @@
 BREAKS_IF_PEDANTIC=	yes
 PLIST_SUB+=	LOCALBASE=${LOCALBASE}
 
+#WITHOUT_OPENSSL=	yes
 .if defined(WITHOUT_OPENSSL)
 CONFIGURE_ARGS+=	--disable-openssl
 PLIST_SUB+=	OPENSSL="@comment "


More information about the Midnightbsd-cvs mailing list