svn commit: r345702 - in head/audio/gsm: . files

Antoine Brodin antoine at FreeBSD.org
Sun Feb 23 12:18:10 UTC 2014


Author: antoine
Date: Sun Feb 23 12:18:09 2014
New Revision: 345702
URL: http://svnweb.freebsd.org/changeset/ports/345702
QAT: https://qat.redports.org/buildarchive/r345702/

Log:
  Allow packaging as a regular user

Modified:
  head/audio/gsm/Makefile
  head/audio/gsm/files/patch-Makefile

Modified: head/audio/gsm/Makefile
==============================================================================
--- head/audio/gsm/Makefile	Sun Feb 23 12:17:17 2014	(r345701)
+++ head/audio/gsm/Makefile	Sun Feb 23 12:18:09 2014	(r345702)
@@ -16,7 +16,4 @@ WRKSRC=		${WRKDIR}/gsm-1.0-pl13
 
 USE_LDCONFIG=	yes
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*so*
-
 .include <bsd.port.mk>

Modified: head/audio/gsm/files/patch-Makefile
==============================================================================
--- head/audio/gsm/files/patch-Makefile	Sun Feb 23 12:17:17 2014	(r345701)
+++ head/audio/gsm/files/patch-Makefile	Sun Feb 23 12:18:09 2014	(r345702)
@@ -1,5 +1,5 @@
---- Makefile.orig	2006-04-26 21:14:26.000000000 +0200
-+++ Makefile	2014-02-12 22:46:15.668989348 +0100
+--- ./Makefile.orig	2006-04-26 19:14:26.000000000 +0000
++++ ./Makefile	2014-02-23 10:31:06.000000000 +0000
 @@ -43,8 +43,8 @@
  # CC		= /usr/lang/acc
  # CCFLAGS 	= -c -O
@@ -144,7 +144,7 @@
  
  
  # The local bin and lib directories
-@@ -342,62 +355,67 @@
+@@ -342,62 +355,66 @@
  
  gsmuninstall:
  		-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then	\
@@ -224,22 +224,20 @@
 -		-rm $@
 -		cp $? $@
 -		chmod 444 $@
--
++		$(RM) $@
++		${BSD_INSTALL_DATA} $? $@
+ 
 -$(GSM_INSTALL_LIB)/libgsm.a:	$(LIBGSM)
 -		-rm $@
 -		cp $? $@
 -		chmod 444 $@
-+		$(RM) $@
-+		${BSD_INSTALL_DATA} $? $@
- 
 +$(GSM_INSTALL_LIB)/$(LIBGSM):	$(LIB)/$(LIBGSM)
 +		$(RM) $@
 +		${BSD_INSTALL_DATA} $? $@
-+		$(RANLIB) $@
-+
+ 
 +$(GSM_INSTALL_LIB)/$(SOLIBGSM):    $(LIB)/$(SOLIBGSM)
 +		$(RM) $@
-+		${BSD_INSTALL_DATA} $? $@
++		${BSD_INSTALL_LIB} $? $@
 +		(cd $(GSM_INSTALL_LIB); $(LN) -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
  
  # Distribution


More information about the svn-ports-head mailing list