Bug 185693 - devel/cvstrack: Support CC properly
Summary: devel/cvstrack: Support CC properly
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: 2014-01-12 18:40 UTC by tkato432
Modified: 2014-01-15 08:10 UTC (History)
0 users

See Also:


Attachments
file.diff (3.08 KB, patch)
2014-01-12 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-01-12 18:40:00 UTC
- Support CC properly

Remove file:
files/patch-Makefile
files/patch-main.mk
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-15 08:06:00 UTC
Author: vanilla
Date: Wed Jan 15 08:05:53 2014
New Revision: 339762
URL: http://svnweb.freebsd.org/changeset/ports/339762
QAT: https://qat.redports.org/buildarchive/r339762/

Log:
  - Support CC properly
  
  PR:		ports/185693
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/devel/cvstrac/files/patch-Makefile
  head/devel/cvstrac/files/patch-main.mk
Modified:
  head/devel/cvstrac/Makefile

Modified: head/devel/cvstrac/Makefile
==============================================================================
--- head/devel/cvstrac/Makefile	Wed Jan 15 07:24:05 2014	(r339761)
+++ head/devel/cvstrac/Makefile	Wed Jan 15 08:05:53 2014	(r339762)
@@ -10,19 +10,24 @@ DISTNAME=	cvstrac-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT?=	Web-Based Bug And Patch-Set Tracking System For CVS
 
-WRKSRC=		${WRKDIR}/cvstrac-${PORTVERSION}
-USE_SQLITE=	yes
-USES=		gmake pkgconfig
+LICENSE=	GPLv2
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
-MAKE_ARGS+=	SRCDIR=${WRKSRC} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
+USES=		gmake pkgconfig
+USE_SQLITE=	yes
+MAKEFILE=	bsd-gcc.mk
+MAKE_ARGS+=	BCC="${CC} ${CPPFLAGS}" TCC="${CC} ${CPPFLAGS}" \
+		LIBSQLITE="${LDFLAGS}"
 MAKE_JOBS_UNSAFE=	yes
 
-NOMAN=
+CPPFLAGS+=	$$(pkg-config --cflags sqlite3)
+LDFLAGS+=	$$(pkg-config --libs sqlite3) -lcrypt -lm
+
 PLIST_FILES=	bin/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${CAT} ${PKGMESSAGE}
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin)
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2014-01-15 08:06:10 UTC
State Changed
From-To: open->closed

Committed, thanks.