Bug 177556 - devel/subcommander2: Fix build
Summary: devel/subcommander2: Fix build
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 19:40 UTC by tkato432
Modified: 2013-05-10 15:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.70 KB, patch)
2013-04-01 19:40 UTC, tkato432
no flags Details | Diff
devel_subcommander2.diff (1.32 KB, patch)
2013-04-24 18:54 UTC, tkato432
no flags Details | Diff
devel_subcommander2.diff (1.50 KB, patch)
2013-05-06 18:55 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 2013-04-01 19:40:02 UTC
- Fix build
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-01 19:40:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 tkato432 2013-04-24 18:54:16 UTC
Remake of the patch against current tree.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-04-26 08:38:01 UTC
State Changed
From-To: open->feedback

build fails: 
http://miwibox.org/tb/index.php?action=describe_port&id=2229
Comment 4 tkato432 2013-04-26 18:54:30 UTC
Probably you've picked up obsolete version of the patch and
accidentally applied with reverse mode since any Qt4 components
wasn't installed in logs. The latest one doesn't add or remove
lines about USE_QT4.
Comment 5 tkato432 2013-05-06 18:55:29 UTC
Remake of the patch against current tree.
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2013-05-10 15:39:08 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-05-10 15:39:15 UTC
Author: miwi
Date: Fri May 10 14:39:02 2013
New Revision: 317813
URL: http://svnweb.freebsd.org/changeset/ports/317813

Log:
  - Fix build
  
  PR:		177556
  Submitted by:	Ports Fury

Modified:
  head/devel/subcommander2/Makefile
  head/devel/subcommander2/files/patch-subcommander__subcommander.cpp

Modified: head/devel/subcommander2/Makefile
==============================================================================
--- head/devel/subcommander2/Makefile	Fri May 10 14:38:28 2013	(r317812)
+++ head/devel/subcommander2/Makefile	Fri May 10 14:39:02 2013	(r317813)
@@ -28,15 +28,15 @@ USE_OPENSSL=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	aclocal automake autoheader autoconf
 ACLOCAL_ARGS=	-I ac-macros
+AUTOMAKE_ARGS=	--copy --force-missing --foreign
 CONFIGURE_ARGS=	--with-boost=${LOCALBASE}/include \
 		--with-subversion=${LOCALBASE} --with-qt=${QT_PREFIX} \
 		--with-apr=${LOCALBASE}/bin/apr-1-config \
 		--with-apr-util=${LOCALBASE}/bin/apu-1-config \
 		--with-openssl=${OPENSSLBASE}
-
 MAKE_JOBS_SAFE=	yes
 
-CPPFLAGS+=	-I${QT_INCDIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${QT_INCDIR} -I${LOCALBASE}/include
+LDFLAGS+=	-L${QT_LIBDIR} -L${LOCALBASE}/lib
 
 .include <bsd.port.mk>

Modified: head/devel/subcommander2/files/patch-subcommander__subcommander.cpp
==============================================================================
--- head/devel/subcommander2/files/patch-subcommander__subcommander.cpp	Fri May 10 14:38:28 2013	(r317812)
+++ head/devel/subcommander2/files/patch-subcommander__subcommander.cpp	Fri May 10 14:39:02 2013	(r317813)
@@ -18,7 +18,7 @@
      // initialization.
  
 -    fprintf( stderr, e.getError()->getMessage() );
-+    fprintf( stderr, "%s", e.getError()->getMessage() );
++    fprintf( stderr, "%s", e.getError()->getMessage().getStr() );
      return EXIT_FAILURE;
    }
  
_______________________________________________
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"