FreeBSD Bugzilla – Attachment 39595 Details for
Bug 62395
[MAINTAINER] devel/ptypes: new options WITH_DEBUG and WITH_OPTIMIZED. Use OPTIONS.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ptypes-1.9.0.patch
ptypes-1.9.0.patch (text/plain), 2.77 KB, created by
Sergey Matveychuk
on 2004-02-05 18:30:16 UTC
(
hide
)
Description:
ptypes-1.9.0.patch
Filename:
MIME Type:
Creator:
Sergey Matveychuk
Created:
2004-02-05 18:30:16 UTC
Size:
2.77 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/devel/ptypes.orig/Makefile /usr/ports/devel/ptypes/Makefile >--- /usr/ports/devel/ptypes.orig/Makefile Thu Feb 5 20:52:47 2004 >+++ /usr/ports/devel/ptypes/Makefile Thu Feb 5 21:05:44 2004 >@@ -16,9 +16,25 @@ > COMMENT= C++ Portable Types Library > > SHLIB_VER= 19 >+ > INSTALLS_SHLIB= yes >-MAKE_ARGS+= PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} > PLIST_SUB+= SHLIB_VER=${SHLIB_VER} >+PTYPES_CFLAGS= ${CFLAGS} >+ >+OPTIONS= DEBUG "Build debug version" off \ >+ OPTIMIZED "Enable -O2 optimization" on >+ >+.include <bsd.port.pre.mk> >+ >+.if defined(WITH_DEBUG) >+DEBUG_FLAGS= -DDEBUG >+.endif >+.if defined(WITH_OPTIMIZED) >+PTYPES_CFLAGS+= -O2 >+.endif >+ >+MAKE_ARGS+= PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ >+ DEBUG_FLAGS=${DEBUG_FLAGS} PTYPES_CFLAGS="${PTYPES_CFLAGS}" > > do-install: > ${MKDIR} ${PREFIX}/include/ptypes >@@ -38,4 +54,4 @@ > cd ${WRKSRC}/doc; ${TAR} cf - *| ${TAR} xf - -C ${DOCSDIR}/doc > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/devel/ptypes.orig/files/patch-src-Makefile.common /usr/ports/devel/ptypes/files/patch-src-Makefile.common >--- /usr/ports/devel/ptypes.orig/files/patch-src-Makefile.common Thu Feb 5 20:52:47 2004 >+++ /usr/ports/devel/ptypes/files/patch-src-Makefile.common Thu Feb 5 21:04:58 2004 >@@ -5,14 +5,14 @@ > RANLIB = ranlib > > -DDEBUG = -DDEBUG >-+DDEBUG = >++DDEBUG = $(DEBUG_FLAGS) > INCDIR = ../include > -CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -fPIC -Wall -O2 >-+CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -fPIC -Wall $(CFLAGS) >++CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -fPIC -Wall $(PTYPES_CFLAGS) > LDLIBS = $(OS_LDLIBS) > > -CXXOPTS_ST = -DPTYPES_ST $(OS_CXXOPTS_ST) $(DDEBUG) -I$(INCDIR) -Wall -O2 >-+CXXOPTS_ST = -DPTYPES_ST $(OS_CXXOPTS_ST) $(DDEBUG) -I$(INCDIR) -Wall $(CFLAGS) >++CXXOPTS_ST = -DPTYPES_ST $(OS_CXXOPTS_ST) $(DDEBUG) -I$(INCDIR) -Wall $(PTYPES_CFLAGS) > LDLIBS_ST = $(OS_LDLIBS_ST) > > LIBNAME = libptypes.a >diff -ruN --exclude=CVS /usr/ports/devel/ptypes.orig/files/patch-wshare-Makefile.common /usr/ports/devel/ptypes/files/patch-wshare-Makefile.common >--- /usr/ports/devel/ptypes.orig/files/patch-wshare-Makefile.common Thu Feb 5 20:52:47 2004 >+++ /usr/ports/devel/ptypes/files/patch-wshare-Makefile.common Thu Feb 5 21:05:07 2004 >@@ -5,10 +5,10 @@ > .SUFFIXES: .cxx .o > > -DDEBUG = -DDEBUG >-+DDEBUG = >++DDEBUG = $(DEBUG_FLAGS) > INCDIR = ../include > -CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -Wall -O2 >-+CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -Wall $(CFLAGS) >++CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -Wall $(PTYPES_CFLAGS) > LDLIBS = $(OS_LDLIBS) > > BINDEST = ../bin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62395
: 39595