Bug 182864 - sysutils/libsunacl - bad check for NO_PROFILE
Summary: sysutils/libsunacl - bad check for NO_PROFILE
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: Edward Tomasz Napierala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 01:20 UTC by Volodymyr Kostyrko
Modified: 2013-12-06 18:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volodymyr Kostyrko 2013-10-10 01:20:00 UTC
Currently /etc/src.conf gathers all info about how the world was built if it's really present. Therefore checking in Makefile:21 for NO_PROFILE is pointless:

===>  Staging for libsunacl-1.0
===>   Generating temporary packing list
install -C -o root -g wheel -m 444   libsunacl.a /tmp/ports/usr/ports/sysutils/libsunacl/work/stage/usr/local/lib
install -s -o root -g wheel -m 444     libsunacl.so.1 /tmp/ports/usr/ports/sysutils/libsunacl/work/stage/usr/local/lib
install -l s libsunacl.so.1 /tmp/ports/usr/ports/sysutils/libsunacl/work/stage/usr/local/lib/libsunacl.so
install -C -o root -g wheel -m 444  sunacl.h /tmp/ports/usr/ports/sysutils/libsunacl/work/stage/usr/local/include
====> Compressing man pages
===>  Installing for libsunacl-1.0
===>  Checking if sysutils/libsunacl already installed
===>   Registering installation for libsunacl-1.0 as automatic
pkg-static: lstat(/tmp/ports/usr/ports/sysutils/libsunacl/work/stage/usr/local/lib/libsunacl_p.a): No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/sysutils/libsunacl.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-10 01:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->trasz

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-01 04:55:05 UTC
Author: trasz
Date: Sun Dec  1 04:54:57 2013
New Revision: 335364
URL: http://svnweb.freebsd.org/changeset/ports/335364

Log:
  Fix build failure caused by defining NO_PROFILE in src.conf.
  
  Discussed with:	se
  PR:		ports/182864, ports/184094
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sysutils/libsunacl/Makefile

Modified: head/sysutils/libsunacl/Makefile
==============================================================================
--- head/sysutils/libsunacl/Makefile	Sun Dec  1 03:48:54 2013	(r335363)
+++ head/sysutils/libsunacl/Makefile	Sun Dec  1 04:54:57 2013	(r335364)
@@ -11,6 +11,7 @@ COMMENT=	Wrapper providing SunOS NFSv4 A
 
 USE_LDCONFIG=	yes
 PLIST_FILES=	include/sunacl.h lib/libsunacl.a lib/libsunacl.so.1 lib/libsunacl.so
+MAKE_ENV=	NO_PROFILE=yes
 
 .include <bsd.port.pre.mk>
 
@@ -18,8 +19,4 @@ PLIST_FILES=	include/sunacl.h lib/libsun
 IGNORE=		no NFSv4 ACL support before FreeBSD 8.0
 .endif
 
-.if !defined(NO_PROFILE)
-PLIST_FILES+=	lib/libsunacl_p.a
-.endif
-
 .include <bsd.port.post.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 3 Edward Tomasz Napierala freebsd_committer freebsd_triage 2013-12-06 18:06:01 UTC
State Changed
From-To: open->closed

Fixed.  Thanks!