Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 18:15:32 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26554: Update port: lang/aleph
Message-ID:  <200104140115.f3E1FWb34320@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26554
>Category:       ports
>Synopsis:       Update port: lang/aleph
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 18:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXX/CXXFLAGS/PTHREAD_CFLAGS/PTHREAD_LIBS properly
- Fix pkg-plist
- Strip binaries

New file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/lang/aleph/Makefile lang/aleph/Makefile
--- /usr/ports/lang/aleph/Makefile	Mon Mar 12 18:07:39 2001
+++ lang/aleph/Makefile	Sat Apr 14 06:18:45 2001
@@ -15,16 +15,21 @@
 
 MAINTAINER=	ijliao@FreeBSD.org
 
-USE_GMAKE=	yes
 USE_NEWGCC=	yes
-
+USE_GMAKE=	yes
+MAKE_ARGS=	CC="${CXX}" LD="${CXX}" LK="${CXX}" OPTCCFLAGS="${CXXFLAGS}" \
+		DYNCCFLAGS="-fPIC -DPIC" DEBUGFLAGS="" DBGDEFINES="" \
+		STDDEFINES="${PTHREAD_CFLAGS}" EXELDFLAGS="${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes
 
-PLIST_SUB=	PORTVER=${PORTVERSION}
+PLIST_SUB=	PORTVER=${PORTVERSION:R}
 
 MAN1=	aleph.1
 
 do-configure:
 	@(cd ${WRKSRC}; ./cnf/bin/aleph-setup -o)
+
+post-install:
+	@strip ${PREFIX}/bin/aleph
 
 .include <bsd.port.mk>
diff -urN /usr/ports/lang/aleph/files/patch-aa lang/aleph/files/patch-aa
--- /usr/ports/lang/aleph/files/patch-aa	Thu Jan  1 09:00:00 1970
+++ lang/aleph/files/patch-aa	Sat Apr 14 05:44:02 2001
@@ -0,0 +1,31 @@
+--- cnf/mak/aleph-rule.mak.orig	Thu Mar  8 14:59:08 2001
++++ cnf/mak/aleph-rule.mak	Sat Apr 14 05:43:10 2001
+@@ -62,8 +62,8 @@
+ endif
+ 
+ ifeq ($(LKMODE),soname)
+-SONAME		= $(SOLIB).$(MAJOR).$(MINOR)
+-SOVERS		= $(SOLIB).$(MAJOR).$(MINOR).$(PATCH)
++SONAME		= $(SOLIB).$(MAJOR)
++SOVERS		= $(SOLIB).$(MAJOR)
+ endif
+ 
+ # ----------------------------------------------------------------------------
+@@ -124,17 +124,13 @@
+ $(SOLIB) : $(SOVERS)
+ 	@$(MKDIR)        $(BLDLIB)
+ 	@$(CP) $(SOVERS) $(BLDLIB)
+-	@$(RM) $(BLDLIB)/$(SOLIB)
+ 	@$(RM) $(BLDLIB)/$(SONAME)
+-	@$(LN) $(SOVERS) $(BLDLIB)/$(SONAME)
+ 	@$(LN) $(SONAME) $(BLDLIB)/$(SOLIB)
+ 
+ install-solib : $(SOVERS)
+ 	@$(MKDIR)        $(LIBDIR)
+ 	@$(CP) $(SOVERS) $(LIBDIR)
+-	@$(RM) $(LIBDIR)/$(SONAME)
+ 	@$(RM) $(LIBDIR)/$(SOLIB)
+-	@$(LN) $(SOVERS) $(LIBDIR)/$(SONAME)
+ 	@$(LN) $(SONAME) $(LIBDIR)/$(SOLIB)
+ .PHONY: install-solib
+ endif
diff -urN /usr/ports/lang/aleph/pkg-plist lang/aleph/pkg-plist
--- /usr/ports/lang/aleph/pkg-plist	Mon Mar 12 18:07:41 2001
+++ lang/aleph/pkg-plist	Sat Apr 14 04:20:56 2001
@@ -123,29 +123,22 @@
 @dirrm include/aleph
 lib/libaleph-eng.a
 lib/libaleph-eng.so
-lib/libaleph-eng.so.0.7
 lib/libaleph-eng.so.%%PORTVER%%
 lib/libaleph-net.a
 lib/libaleph-net.so
-lib/libaleph-net.so.0.7
 lib/libaleph-net.so.%%PORTVER%%
 lib/libaleph-plt.a
 lib/libaleph-plt.so
-lib/libaleph-plt.so.0.7
 lib/libaleph-plt.so.%%PORTVER%%
 lib/libaleph-sio.a
 lib/libaleph-sio.so
-lib/libaleph-sio.so.0.7
 lib/libaleph-sio.so.%%PORTVER%%
 lib/libaleph-std.a
 lib/libaleph-std.so
-lib/libaleph-std.so.0.7
 lib/libaleph-std.so.%%PORTVER%%
 lib/libaleph-sys.a
 lib/libaleph-sys.so
-lib/libaleph-sys.so.0.7
 lib/libaleph-sys.so.%%PORTVER%%
 lib/libaleph-www.a
 lib/libaleph-www.so
-lib/libaleph-www.so.0.7
 lib/libaleph-www.so.%%PORTVER%%

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104140115.f3E1FWb34320>