aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-09 22:52:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-09 22:52:07 +0800
commite5e0392c66e3b035ff596db4d8e414c160db7c12 (patch)
treef3a9e2d2166058494143b257877f71a018d2721b
parent95cc29a2eb9a7c5d7c8228fe95e8d2ba030be0b6 (diff)
downloadfreebsd-ports-gnome-e5e0392c66e3b035ff596db4d8e414c160db7c12.tar.gz
freebsd-ports-gnome-e5e0392c66e3b035ff596db4d8e414c160db7c12.tar.zst
freebsd-ports-gnome-e5e0392c66e3b035ff596db4d8e414c160db7c12.zip
- Respect LDFLAGS
- Switch to options helpers - Switch to USES=libedit as suggested by stage-qa Approved by: portmgr blanket
-rw-r--r--audio/autocd/Makefile5
-rw-r--r--audio/autocd/files/patch-Makefile.in19
2 files changed, 23 insertions, 1 deletions
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile
index 0da5f9b611e7..fc495ceac910 100644
--- a/audio/autocd/Makefile
+++ b/audio/autocd/Makefile
@@ -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}
diff --git a/audio/autocd/files/patch-Makefile.in b/audio/autocd/files/patch-Makefile.in
new file mode 100644
index 000000000000..1e23a54303ec
--- /dev/null
+++ b/audio/autocd/files/patch-Makefile.in
@@ -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 $<