Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 11:44:01 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111653: [patch] audio/fapg - cleanup non-supported FreeBSD versions
Message-ID:  <20070416014401.35EA410A@k7.mavetju>
Resent-Message-ID: <200704160150.l3G1o3oH088513@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111653
>Category:       ports
>Synopsis:       [patch] audio/fapg - cleanup non-supported FreeBSD versions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 16 01:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/fapg/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	15 Mar 2007 14:16:44 -0000	1.7
+++ Makefile	16 Apr 2007 01:43:49 -0000
@@ -18,17 +18,6 @@
 
 MAN1=		fapg.1
 
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if ${OSVERSION} < 500000
-	@${REINPLACE_CMD} -e 's,g2,g2 -I${LOCALBASE}/include \
-		-L${LOCALBASE}/lib -lgnugetopt,' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e '32 s,<,\",; 32 s,>,\",' \
-		${WRKSRC}/fapg.c
-	@${CP} ${FILESDIR}/getopt.h ${WRKSRC}
-.endif
-
 do-build:
 	@cd ${WRKSRC} && ${MAKE} ${PORTNAME}
 
@@ -44,4 +33,4 @@
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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