Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 13:31:07 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364702 - in head/sysutils/libutempter: . files
Message-ID:  <53ea171c.6b4c.2bb277c1@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Aug 12 13:31:07 2014
New Revision: 364702
URL: http://svnweb.freebsd.org/changeset/ports/364702
QAT: https://qat.redports.org/buildarchive/r364702/

Log:
  Stage support

Modified:
  head/sysutils/libutempter/Makefile
  head/sysutils/libutempter/files/patch-Makefile

Modified: head/sysutils/libutempter/Makefile
==============================================================================
--- head/sysutils/libutempter/Makefile	Tue Aug 12 12:59:08 2014	(r364701)
+++ head/sysutils/libutempter/Makefile	Tue Aug 12 13:31:07 2014	(r364702)
@@ -13,7 +13,6 @@ COMMENT=	Interface to record user sessio
 USES=		gmake tar:bzip2
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 900004

Modified: head/sysutils/libutempter/files/patch-Makefile
==============================================================================
--- head/sysutils/libutempter/files/patch-Makefile	Tue Aug 12 12:59:08 2014	(r364701)
+++ head/sysutils/libutempter/files/patch-Makefile	Tue Aug 12 13:31:07 2014	(r364702)
@@ -1,31 +1,30 @@
---- Makefile.orig	2007-02-19 13:14:08.000000000 +0100
-+++ Makefile	2007-07-17 23:42:11.000000000 +0200
-@@ -30,18 +30,18 @@
+--- Makefile.orig	2007-02-19 12:14:08 UTC
++++ Makefile
+@@ -30,9 +30,9 @@ MAP = lib$(PROJECT).map
  TARGETS = $(PROJECT) $(SHAREDLIB) $(STATICLIB)
  
  INSTALL = install
 -libdir = /usr/lib
 -libexecdir = /usr/lib
 -includedir = /usr/include
--DESTDIR =
-+libdir = /lib
-+libexecdir = /libexec
-+includedir = /include
-+DESTDIR = $(PREFIX)
++libdir = $(PREFIX)/lib
++libexecdir = $(PREFIX)/libexec
++includedir = $(PREFIX)/include
+ DESTDIR =
  
  WARNINGS = -W -Wall -Waggregate-return -Wcast-align -Wconversion \
- 	-Wdisabled-optimization -Wmissing-declarations \
+@@ -40,8 +40,8 @@ WARNINGS = -W -Wall -Waggregate-return -
  	-Wmissing-format-attribute -Wmissing-noreturn \
  	-Wmissing-prototypes -Wpointer-arith -Wredundant-decls \
  	-Wshadow -Wstrict-prototypes -Wwrite-strings
 -CPPFLAGS = -std=gnu99 $(WARNINGS) -DLIBEXECDIR=\"$(libexecdir)\"
 -CFLAGS = $(RPM_OPT_FLAGS)
 +CPPFLAGS = -std=gnu99 $(WARNINGS)
-+CFLAGS+= -DLIBEXECDIR=\"$(PREFIX)$(libexecdir)\"
++CFLAGS+= -DLIBEXECDIR=\"$(libexecdir)\"
  LDLIBS =
  
  all: $(TARGETS)
-@@ -63,15 +63,20 @@
+@@ -63,15 +63,20 @@ $(STATICLIB): iface.o
  
  iface.o: iface.c utempter.h
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea171c.6b4c.2bb277c1>