mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 09:56:43 -04:00
Fix LICENSE block. This is LGPL 3.0 or greater. Remove the "MAT" license which appears to have been added as a misinterpretation from when this port had NO_CDROM defined. There's no need for a bogus license just because the port is versioned by date. Set previously undefined c++ standard as a precaution. Simplify Makefile. Move CFLAGS (builds fine on amd64 with -fpic, so there's no need to conditionalize it) and the openssl sub (MAKE_ENV already defines OPENSSLLIB) out to files/config.fixed-freebsd. Respect PREFIX with a more concise sub and no logic requiring <b.p.p.m>. Strip binaries by subbing the install commands with BSD_INSTALL_* and patch Makefile.head/tail in the post-patch target instead of the generated Makefile in the post-configure target. Pet portclippy(1). Remove pkg-message that only provided very obious information.
46 lines
2.5 KiB
Text
46 lines
2.5 KiB
Text
# 'CURRENT':'REVISION':'AGE' are updated - whenever a library changes - as follows:
|
|
# The library code changes, but without any changes to the API (i.e., interfaces) => increment REVISION
|
|
# At least one interface changes, or is removed => CURRENT += 1; REVISION = 0; AGE = 0
|
|
# One or more interfaces were added, but no existing interfaces were changed or removed => CURRENT += 1; REVISION = 0; AGE += 1
|
|
|
|
libliveMedia_VERSION_CURRENT= 16
|
|
libliveMedia_VERSION_REVISION= 1
|
|
libliveMedia_VERSION_AGE= 0
|
|
libliveMedia_LIB_SUFFIX= so.$(shell expr $(libliveMedia_VERSION_CURRENT) - $(libliveMedia_VERSION_AGE)).$(libliveMedia_VERSION_AGE).$(libliveMedia_VERSION_REVISION)
|
|
|
|
libBasicUsageEnvironment_VERSION_CURRENT= 0
|
|
libBasicUsageEnvironment_VERSION_REVISION= 1
|
|
libBasicUsageEnvironment_VERSION_AGE= 0
|
|
libBasicUsageEnvironment_LIB_SUFFIX= so.$(shell expr $(libBasicUsageEnvironment_VERSION_CURRENT) - $(libBasicUsageEnvironment_VERSION_AGE)).$(libBasicUsageEnvironment_VERSION_AGE).$(libBasicUsageEnvironment_VERSION_REVISION)
|
|
|
|
libUsageEnvironment_VERSION_CURRENT= 1
|
|
libUsageEnvironment_VERSION_REVISION= 0
|
|
libUsageEnvironment_VERSION_AGE= 0
|
|
libUsageEnvironment_LIB_SUFFIX= so.$(shell expr $(libUsageEnvironment_VERSION_CURRENT) - $(libUsageEnvironment_VERSION_AGE)).$(libUsageEnvironment_VERSION_AGE).$(libUsageEnvironment_VERSION_REVISION)
|
|
|
|
libgroupsock_VERSION_CURRENT= 1
|
|
libgroupsock_VERSION_REVISION= 1
|
|
libgroupsock_VERSION_AGE= 0
|
|
libgroupsock_LIB_SUFFIX= so.$(shell expr $(libgroupsock_VERSION_CURRENT) - $(libgroupsock_VERSION_AGE)).$(libgroupsock_VERSION_AGE).$(libgroupsock_VERSION_REVISION)
|
|
#####
|
|
|
|
COMPILE_OPTS = $(INCLUDES) -I. -DBSD=1 -DNEWLOCALE_NOT_USED=1 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_SOCKADDR_LEN=1 -fpic
|
|
C = c
|
|
C_COMPILER = $(CC)
|
|
C_FLAGS = $(COMPILE_OPTS) $(CPPFLAGS) $(CFLAGS)
|
|
CPP = cpp
|
|
CPLUSPLUS_COMPILER = $(CXX)
|
|
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -Wno-deprecated $(CPPFLAGS) $(CXXFLAGS)
|
|
OBJ = o
|
|
LINK = $(CXX) -o
|
|
LINK_OPTS = -L. $(LDFLAGS)
|
|
CONSOLE_LINK_OPTS = $(LINK_OPTS)
|
|
LIBRARY_LINK = $(CC) -o
|
|
SHORT_LIB_SUFFIX= so.$(shell expr $($(NAME)_VERSION_CURRENT) - $($(NAME)_VERSION_AGE))
|
|
LIB_SUFFIX = $(SHORT_LIB_SUFFIX).$($(NAME)_VERSION_AGE).$($(NAME)_VERSION_REVISION)
|
|
LIBRARY_LINK_OPTS = -shared -Wl,-soname,$(NAME).$(SHORT_LIB_SUFFIX) $(LDFLAGS)
|
|
LIBS_FOR_CONSOLE_APPLICATION = -L$(OPENSSLLIB) -lssl -lcrypto
|
|
LIBS_FOR_GUI_APPLICATION =
|
|
LIBS_FOR_LIVEMEDIA_LIB = -L$(OPENSSLLIB) -lssl -lcrypto
|
|
EXE =
|
|
INSTALL2 = install_shared_libraries
|