ports/190007: [patch] Add staging support to www/asql
Joseph Benden
joe at thrallingpenguin.com
Tue May 20 14:20:00 UTC 2014
>Number: 190007
>Category: ports
>Synopsis: [patch] Add staging support to www/asql
>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: Tue May 20 14:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Joseph Benden
>Release: FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root at lucy:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Adds staging support to www/asql.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/asql/Makefile b/www/asql/Makefile
index 79527ae..fb68ad2 100644
--- a/www/asql/Makefile
+++ b/www/asql/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
NO_BUILD= yes
PLIST_FILES= bin/asql
-USES= perl5
-
-NO_STAGE= yes
+USES= perl5 shebangfix
+SHEBANG_FILES= bin/asql
.include <bsd.port.mk>
diff --git a/www/asql/files/patch-Makefile b/www/asql/files/patch-Makefile
index b92a130..495b1739 100644
--- a/www/asql/files/patch-Makefile
+++ b/www/asql/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-10-15 09:37:42.000000000 +0800
-+++ Makefile 2008-10-15 09:38:00.000000000 +0800
+--- Makefile.orig 2012-09-13 00:38:26.000000000 -0700
++++ Makefile 2014-05-20 07:09:07.000000000 -0700
@@ -40,9 +40,8 @@
hg diff 2>/dev/null
@@ -7,8 +7,8 @@
- mkdir -p ${PREFIX}/usr/bin/
- cp bin/asql ${PREFIX}/usr/bin/asql
- chmod 755 ${PREFIX}/usr/bin/asql
-+ cp bin/asql ${PREFIX}/bin/asql
-+ chmod 755 ${PREFIX}/bin/asql
++ cp bin/asql ${DESTDIR}${PREFIX}/bin/asql
++ chmod 755 ${DESTDIR}${PREFIX}/bin/asql
release: clean commands
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list