svn commit: r344180 - in head/audio/mp3_check: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Feb 14 10:12:52 UTC 2014
Author: ehaupt
Date: Fri Feb 14 10:12:51 2014
New Revision: 344180
URL: http://svnweb.freebsd.org/changeset/ports/344180
QAT: https://qat.redports.org/buildarchive/r344180/
Log:
Support staging
Added:
head/audio/mp3_check/files/patch-Makefile (contents, props changed)
head/audio/mp3_check/files/patch-mp3_check.c (contents, props changed)
Deleted:
head/audio/mp3_check/files/patch-aa
head/audio/mp3_check/files/patch-ab
Modified:
head/audio/mp3_check/Makefile
head/audio/mp3_check/files/patch-mp3_check_misc.c
Modified: head/audio/mp3_check/Makefile
==============================================================================
--- head/audio/mp3_check/Makefile Fri Feb 14 10:07:26 2014 (r344179)
+++ head/audio/mp3_check/Makefile Fri Feb 14 10:12:51 2014 (r344180)
@@ -11,6 +11,5 @@ MAINTAINER= ericb at thedeepsky.com
COMMENT= Verifies the integrity of mp3 audio files
PLIST_FILES= bin/mp3_check
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/audio/mp3_check/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/mp3_check/files/patch-Makefile Fri Feb 14 10:12:51 2014 (r344180)
@@ -0,0 +1,31 @@
+--- ./Makefile.orig 2000-07-29 08:41:38.000000000 +0200
++++ ./Makefile 2014-02-14 11:11:34.806983153 +0100
+@@ -2,8 +2,8 @@
+
+ CC ?= gcc
+ LOCALBASE ?= /usr/local
+-CFLAGS += -Wall -Werror
+-OPT_FLAGS = -L${LOCALBASE}/lib
++CFLAGS += -Wall ${CPPFLAGS}
++OPT_FLAGS = -L${LOCALBASE}/lib ${LDFLAGS}
+ OBJS = mp3_check.o \
+ mp3_check_misc.o
+
+@@ -21,7 +21,7 @@
+ cat MILESTONE.INTRO
+
+ install: all
+- install -m 755 -o root -g root mp3_check ${LOCALBASE}/bin
++ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
+
+ # The FreeBSD Makefile options need a little work, but this will work for now.
+ freebsd: mp3_check.c mp3_check.h mp3_check_misc.c
+@@ -29,7 +29,7 @@
+ strip mp3_check
+
+ freebsd_install: freebsd
+- install -m 755 -o root -g wheel mp3_check ${LOCALBASE}/bin
++ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
+
+ mp3_check.o: mp3_check.c
+ mp3_check_misc.o: mp3_check_misc.c
Added: head/audio/mp3_check/files/patch-mp3_check.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/mp3_check/files/patch-mp3_check.c Fri Feb 14 10:12:51 2014 (r344180)
@@ -0,0 +1,10 @@
+--- ./mp3_check.c.orig 2000-07-29 08:51:38.000000000 +0200
++++ ./mp3_check.c 2014-02-14 11:10:48.285958149 +0100
+@@ -60,6 +60,7 @@
+
+ #include <errno.h>
+ #include <stdio.h>
++#include <getopt.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <getopt.h>
Modified: head/audio/mp3_check/files/patch-mp3_check_misc.c
==============================================================================
--- head/audio/mp3_check/files/patch-mp3_check_misc.c Fri Feb 14 10:07:26 2014 (r344179)
+++ head/audio/mp3_check/files/patch-mp3_check_misc.c Fri Feb 14 10:12:51 2014 (r344180)
@@ -1,5 +1,5 @@
--- ./mp3_check_misc.c.orig 2000-09-16 05:36:01.000000000 +0200
-+++ ./mp3_check_misc.c 2013-05-27 14:05:42.403067935 +0200
++++ ./mp3_check_misc.c 2014-02-14 11:10:48.287957674 +0100
@@ -11,7 +11,7 @@
#include "support_functions.h"
More information about the svn-ports-head
mailing list