Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 14:52:07 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396513 - in head/audio/autocd: . files
Message-ID:  <201509091452.t89Eq7jO041954@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  9 14:52:07 2015
New Revision: 396513
URL: https://svnweb.freebsd.org/changeset/ports/396513

Log:
  - Respect LDFLAGS
  - Switch to options helpers
  - Switch to USES=libedit as suggested by stage-qa
  
  Approved by:	portmgr blanket

Added:
  head/audio/autocd/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/audio/autocd/Makefile

Modified: head/audio/autocd/Makefile
==============================================================================
--- head/audio/autocd/Makefile	Wed Sep  9 14:43:39 2015	(r396512)
+++ head/audio/autocd/Makefile	Wed Sep  9 14:52:07 2015	(r396513)
@@ -3,13 +3,14 @@
 
 PORTNAME=	autocd
 PORTVERSION=	3.02.12b
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio sysutils
 MASTER_SITES=	ftp://kot.spb.ru/pub/src/projects/autocd/
 
 MAINTAINER=	KOT@MATPOCKuH.Ru
 COMMENT=	Compact disc control utility
 
+USES=		libedit
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	README.rus.html
@@ -28,6 +29,8 @@ do-install:
 	@(cd ${WRKSRC} && ${INSTALL_MAN} acdplay.1 cdctl.1 \
 		${STAGEDIR}${PREFIX}/man/man1/)
 	${INSTALL_MAN} ${WRKSRC}/autocd.8 ${STAGEDIR}${PREFIX}/man/man8/
+
+do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 

Added: head/audio/autocd/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/autocd/files/patch-Makefile.in	Wed Sep  9 14:52:07 2015	(r396513)
@@ -0,0 +1,19 @@
+--- Makefile.in.orig	2004-04-16 15:46:42 UTC
++++ Makefile.in
+@@ -34,13 +34,13 @@ MANPAGES8=autocd.8
+ all:	$(ALL)
+ 
+ autocd:	$(AUTOCD_O)
+-	$(CC) $(CFLAGS) -o autocd $(AUTOCD_O)
++	$(CC) $(LDFLAGS) -o autocd $(AUTOCD_O)
+ 
+ cdctl:	$(CDCTL_O)
+-	$(CC) $(CFLAGS) $(CDCTL_LIBS) -o cdctl $(CDCTL_O)
++	$(CC) $(LDFLAGS) $(CDCTL_LIBS) -o cdctl $(CDCTL_O)
+ 
+ acdplay:	$(ACDPLAY_O)
+-	$(CC) $(CFLAGS) $(ACDPLAY_LIBS) -o acdplay $(ACDPLAY_O)
++	$(CC) $(LDFLAGS) $(ACDPLAY_LIBS) -o acdplay $(ACDPLAY_O)
+ 
+ .c.o:	$(GLOBAL_DEP)
+ 	$(CC) $(CFLAGS) $(DEFS) -c $<



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