Bug 150181 - Maintainer update: fix extraction of maven-ant-tasks
Summary: Maintainer update: fix extraction of maven-ant-tasks
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 10:50 UTC by Chris Rees
Modified: 2010-09-01 14:10 UTC (History)
0 users

See Also:


Attachments
maven-ant-tasks-noextract.diff (668 bytes, patch)
2010-09-01 11:19 UTC, Chris Rees
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rees 2010-09-01 10:50:04 UTC
	http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.6.20100830051548/maven-ant-tasks-2.1.1.log shows that FreeBSD 6.x tries to extract the jar and fails, showing that the file gets extracted; which isn't what we want.

Fix: 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.--QVS4Zl24oMRPWOsNLqNYMoDHhqWVNEUAx7wFTxtOytbdEMP1
Content-Type: text/plain; name="maven-ant-tasks-noextract.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="maven-ant-tasks-noextract.diff"

diff maven-ant-tasks.orig/Makefile maven-ant-tasks/Makefile
23d22
< JAR_NAME=	${PORTNAME}-${PORTVERSION}.jar
24a24
> EXTRACT_ONLY=
27c27
< PLIST_FILES=	%%JAVASHAREDIR%%/apache-ant/lib/${JAR_NAME}
---
> PLIST_FILES=	%%JAVASHAREDIR%%/apache-ant/lib/${DISTNAME}${EXTRACT_SUFX}
30c30,31
< 	@${INSTALL_DATA} ${DISTDIR}/${JAR_NAME} ${JAVASHAREDIR}/apache-ant/lib/
---
> 	@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
> 		${JAVASHAREDIR}/apache-ant/lib/
Comment 1 Chris Rees 2010-09-01 11:19:15 UTC
Sorry, missed the -ruN on my first patch.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2010-09-01 13:26:59 UTC
State Changed
From-To: open->closed

Committed, thanks
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-09-01 14:01:03 UTC
pav         2010-09-01 12:54:10 UTC

  FreeBSD ports repository

  Modified files:
    devel/maven-ant-tasks Makefile 
  Log:
  - Fix build on 6.X
  
  PR:             ports/150181
  Submitted by:   Chris Rees <utisoft@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.4       +4 -3      ports/devel/maven-ant-tasks/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"