Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 21:49:57 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344021 - in head/audio/gsm: . files
Message-ID:  <201402122149.s1CLnvT5005125@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 12 21:49:57 2014
New Revision: 344021
URL: http://svnweb.freebsd.org/changeset/ports/344021
QAT: https://qat.redports.org/buildarchive/r344021/

Log:
  - Support staging
  - Strip shared object
  - Respect CFLAGS

Added:
  head/audio/gsm/files/patch-Makefile
     - copied, changed from r344013, head/audio/gsm/files/patch-ab
Deleted:
  head/audio/gsm/files/patch-ab
Modified:
  head/audio/gsm/Makefile
  head/audio/gsm/pkg-plist

Modified: head/audio/gsm/Makefile
==============================================================================
--- head/audio/gsm/Makefile	Wed Feb 12 21:42:19 2014	(r344020)
+++ head/audio/gsm/Makefile	Wed Feb 12 21:49:57 2014	(r344021)
@@ -15,10 +15,8 @@ COMMENT=	Audio converter and library for
 WRKSRC=		${WRKDIR}/gsm-1.0-pl13
 
 USE_LDCONFIG=	yes
-NO_STAGE=	yes
 
-MAN1=		toast.1
-MAN3=		gsm.3 gsm_explode.3 gsm_option.3 gsm_print.3
-MLINKS=		toast.1 untoast.1	toast.1 tcat.1
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*so*
 
 .include <bsd.port.mk>

Copied and modified: head/audio/gsm/files/patch-Makefile (from r344013, head/audio/gsm/files/patch-ab)
==============================================================================
--- head/audio/gsm/files/patch-ab	Wed Feb 12 20:20:10 2014	(r344013, copy source)
+++ head/audio/gsm/files/patch-Makefile	Wed Feb 12 21:49:57 2014	(r344021)
@@ -1,5 +1,5 @@
---- Makefile.orig	Wed Apr 26 15:14:26 2006
-+++ Makefile	Thu Jan 25 22:12:30 2007
+--- Makefile.orig	2006-04-26 21:14:26.000000000 +0200
++++ Makefile	2014-02-12 22:46:15.668989348 +0100
 @@ -43,8 +43,8 @@
  # CC		= /usr/lang/acc
  # CCFLAGS 	= -c -O
@@ -7,7 +7,7 @@
 -CC		= gcc -ansi -pedantic
 -CCFLAGS 	= -c -O2 -DNeedFunctionPrototypes=1
 +#CC              = gcc -ansi -pedantic
-+CCFLAGS         = -c -DNeedFunctionPrototypes=1
++CCFLAGS         += -c -DNeedFunctionPrototypes=1
  
  LD 		= $(CC)
  
@@ -30,7 +30,7 @@
  # not install gsm and toast outside of this directory.
  
 -INSTALL_ROOT	=
-+INSTALL_ROOT    =       $(PREFIX)
++INSTALL_ROOT    =       $(DESTDIR)$(PREFIX)
  
  # Where do you want to install the gsm library, header file, and manpages?
  #

Modified: head/audio/gsm/pkg-plist
==============================================================================
--- head/audio/gsm/pkg-plist	Wed Feb 12 21:42:19 2014	(r344020)
+++ head/audio/gsm/pkg-plist	Wed Feb 12 21:49:57 2014	(r344021)
@@ -7,3 +7,8 @@ include/gsm.h
 lib/libgsm.a
 lib/libgsm.so
 lib/libgsm.so.1
+man/man1/toast.1.gz
+man/man3/gsm.3.gz
+man/man3/gsm_explode.3.gz
+man/man3/gsm_option.3.gz
+man/man3/gsm_print.3.gz



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