Browse Source

HBSD: Initial import

Re-import our changes into a fresh ports tree after the FreeBSD ports
fallout. Note that the LibreSSL changes from @sp1l still need to be
imported.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
X-see-also:	https://hardenedbsd.org/article/shawn-webb/2016-12-04/new-ports-tree
pull/2/head
Shawn Webb 3 years ago
parent
commit
6ab8e29f3b
No known key found for this signature in database
100 changed files with 391 additions and 2 deletions
  1. +1
    -0
      Makefile
  2. +19
    -0
      Mk/Uses/pie.mk
  3. +15
    -0
      Mk/Uses/relro.mk
  4. +21
    -0
      Mk/Uses/safestack.mk
  5. +94
    -0
      Mk/bsd.hardening.mk
  6. +2
    -0
      Mk/bsd.options.mk
  7. +1
    -1
      Mk/bsd.port.mk
  8. +2
    -0
      Mk/bsd.port.options.mk
  9. +1
    -0
      Mk/bsd.port.pre.mk
  10. +2
    -0
      archivers/unrar/Makefile
  11. +2
    -0
      astro/openuniverse/Makefile
  12. +3
    -0
      audio/beast/Makefile
  13. +3
    -0
      audio/csound6/Makefile
  14. +2
    -0
      audio/forked-daapd/Makefile
  15. +3
    -0
      audio/icegenerator/Makefile
  16. +2
    -0
      audio/madplay/Makefile
  17. +3
    -0
      audio/mp3guessenc/Makefile
  18. +2
    -0
      audio/muse/Makefile
  19. +3
    -0
      audio/oss/Makefile
  20. +2
    -0
      audio/raop_play/Makefile
  21. +2
    -0
      audio/umodplayer/Makefile
  22. +2
    -0
      audio/voipong/Makefile
  23. +4
    -1
      audio/xmms-gbsplay/Makefile
  24. +3
    -0
      audio/xmms-nas/Makefile
  25. +2
    -0
      benchmarks/gtkperf/Makefile
  26. +2
    -0
      benchmarks/lmbench/Makefile
  27. +2
    -0
      biology/diamond/Makefile
  28. +3
    -0
      biology/mafft/Makefile
  29. +2
    -0
      biology/mopac/Makefile
  30. +2
    -0
      biology/ncbi-blast+/Makefile
  31. +2
    -0
      biology/primer3/Makefile
  32. +2
    -0
      biology/psi88/Makefile
  33. +3
    -0
      biology/tinker/Makefile
  34. +2
    -0
      cad/alliance/Makefile
  35. +3
    -0
      cad/calculix/Makefile
  36. +2
    -0
      cad/pdnmesh/Makefile
  37. +2
    -0
      comms/ebook2cw/Makefile
  38. +2
    -0
      comms/ebook2cwgui/Makefile
  39. +2
    -0
      comms/fl_moxgen/Makefile
  40. +2
    -0
      comms/mlan3/Makefile
  41. +2
    -0
      comms/nokryptia/Makefile
  42. +2
    -0
      comms/sdr-wspr/Makefile
  43. +3
    -0
      comms/uartlirc/Makefile
  44. +2
    -0
      databases/dbh/Makefile
  45. +2
    -0
      databases/firebird25-server/Makefile
  46. +3
    -0
      databases/mongodb32-tools/Makefile
  47. +4
    -0
      databases/mysql57-server/Makefile
  48. +3
    -0
      databases/phpmyadmin/Makefile
  49. +3
    -0
      databases/postgis22/Makefile
  50. +2
    -0
      databases/riak2/Makefile
  51. +2
    -0
      databases/rocksdb/Makefile
  52. +2
    -0
      databases/tarantool/Makefile
  53. +2
    -0
      deskutils/bitcollider/Makefile
  54. +2
    -0
      deskutils/growl-for-linux/Makefile
  55. +3
    -0
      deskutils/pinot/Makefile
  56. +3
    -0
      devel/adabooch/Makefile
  57. +2
    -0
      devel/adacurses/Makefile
  58. +3
    -0
      devel/arm-elf-binutils/Makefile
  59. +3
    -0
      devel/arm-none-eabi-gcc492/Makefile
  60. +2
    -0
      devel/automoc4/Makefile
  61. +3
    -0
      devel/bullet/Makefile
  62. +3
    -0
      devel/ccons/Makefile
  63. +3
    -0
      devel/clanlib22/Makefile
  64. +2
    -0
      devel/cmph/Makefile
  65. +3
    -0
      devel/cx_Freeze/Makefile
  66. +2
    -0
      devel/darts/Makefile
  67. +3
    -0
      devel/dmucs/Makefile
  68. +2
    -0
      devel/dwarfdump/Makefile
  69. +2
    -0
      devel/elfkickers/Makefile
  70. +3
    -0
      devel/flatzebra/Makefile
  71. +3
    -0
      devel/gcc-arm-embedded/Makefile
  72. +2
    -0
      devel/git/Makefile
  73. +3
    -0
      devel/hadoop/Makefile
  74. +3
    -0
      devel/hadoop2/Makefile
  75. +3
    -0
      devel/libmatheval/Makefile
  76. +2
    -0
      devel/mph/Makefile
  77. +3
    -0
      devel/powerpc64-gcc/Makefile
  78. +3
    -0
      devel/pwlib/Makefile
  79. +2
    -0
      devel/rhtvision/Makefile
  80. +2
    -0
      devel/rpc2/Makefile
  81. +2
    -0
      devel/sdl2pp/Makefile
  82. +3
    -0
      devel/tesla/Makefile
  83. +2
    -0
      devel/ucpp/Makefile
  84. +2
    -0
      devel/upp/Makefile
  85. +3
    -0
      devel/valgrind-devel/Makefile
  86. +3
    -0
      devel/valgrind/Makefile
  87. +12
    -0
      dns/c-ares/files/patch-configure
  88. +2
    -0
      dns/powerdns-recursor/Makefile
  89. +3
    -0
      dns/yadifa/Makefile
  90. +3
    -0
      editors/emacs-devel/Makefile
  91. +3
    -0
      editors/emacs/Makefile
  92. +2
    -0
      editors/mined/Makefile
  93. +2
    -0
      editors/nvi-devel/Makefile
  94. +3
    -0
      editors/texmacs/Makefile
  95. +2
    -0
      editors/vim/Makefile
  96. +3
    -0
      emulators/fs-uae/Makefile
  97. +2
    -0
      emulators/lisaem/Makefile
  98. +3
    -0
      emulators/mame/Makefile
  99. +3
    -0
      emulators/mednafen/Makefile
  100. +2
    -0
      emulators/mess/Makefile

+ 1
- 0
Makefile View File

@@ -24,6 +24,7 @@ SUBDIR += ftp
SUBDIR += games
SUBDIR += german
SUBDIR += graphics
SUBDIR += hardenedbsd
SUBDIR += hebrew
SUBDIR += hungarian
SUBDIR += irc

+ 19
- 0
Mk/Uses/pie.mk View File

@@ -0,0 +1,19 @@
# $FreeBSD$
#
# Compile a port with PIE flags
#
# Feature: pie
# Usage: USES=pie
#
# MAINTAINER: shawn.webb@hardenedbsd.org

.if ${OSVERSION} > 1100000
.if !defined(_INCLUDE_USES_PIE_MK)
_INCLUDE_USES_PIE_MK= yes

CFLAGS+= -fPIE -fPIC
CXXFLAGS+= -fPIE -fPIC
LDFLAGS+= -pie

.endif
.endif

+ 15
- 0
Mk/Uses/relro.mk View File

@@ -0,0 +1,15 @@
# $FreeBSD$
#
# Compile a port with RELRO flags
#
# Feature: relro
# Usage: USES=relro
#
# MAINTAINER: shawn.webb@hardenedbsd.org

.if !defined(_INCLUDE_USES_RELRO_MK)
_INCLUDE_USES_RELRO_MK= yes

LDFLAGS+= -Wl,-z,relro -Wl,-z,now

.endif

+ 21
- 0
Mk/Uses/safestack.mk View File

@@ -0,0 +1,21 @@
# $FreeBSD$
#
# Compile a port with SafeStack
#
# Feature: safestack
# Usage: USES=safestack
#
# MAINTAINER: shawn.webb@hardenedbsd.org

.if !defined(_INCLUDE_USES_SAFESTACK_MK)
_INCLUDE_USES_SAFESTACK_MK= yes
.if ${OSVERSION} >= 1200017
.if ${ARCH} == "amd64"

CFLAGS+= -fsanitize=safe-stack
CXXFLAGS+= -fsanitize=safe-stack
LDFLAGS+= -fsanitize=safe-stack

.endif
.endif
.endif

+ 94
- 0
Mk/bsd.hardening.mk View File

@@ -0,0 +1,94 @@
# $FreeBSD$
#
# HardenedBSD-related ports options

.if !defined(__BSD_PORT_HARDENING_MK)
__BSD_PORT_HARDENING_MK=1

####################################################
### Position-Idependent Executable (PIE) support ###
####################################################

OPTIONS_DEFINE+= PIE
PIE_DESC= Build as PIE
PIE_USES= pie

# Do not enable PIE for libraries or kernel module ports. However,
# provide a way for still enabling PIE if desired by the port's
# maintainer by allowing them to define EXPLICIT_PIE.
#
# It's possible that keying off lib* as the port's name could
# introduce false positives. Hence even more reason to have
# EXPLICIT_PIE.
.if defined(PORTNAME)
.if !defined(EXPLICIT_PIE)
.if ${PORTNAME:Mlib*} || ${PORTNAME:M*kmod*} || \
(defined(PKGNAMESUFFIX) && (${PKGNAMESUFFIX:Mlib*}))
NOPIE_PORTS= yes
.endif
.endif
.endif

.if defined(USES)
.if ${USES:Mkmod} || ${USES:Mfortran}
NOPIE_PORTS= yes
.endif
.endif

.if defined(CATEGORIES)
.if ${CATEGORIES:Mlinux}
NOPIE_PORTS= yes
.endif
.endif

.if !defined(NOPIE_PORTS)
OPTIONS_DEFAULT+= PIE
.endif

################################
### RELRO + BIND_NOW support ###
################################

OPTIONS_DEFINE+= RELRO
RELRO_DESC= Build with RELRO + BIND_NOW
RELRO_USES= relro

# Same reasoning here with RELRO as with PIE.
.if defined(PORTNAME)
.if !defined(EXPLICIT_RELRO)
.if ${PORTNAME:Mlib*} || ${PORTNAME:M*kmod*} || \
(defined(PKGNAMESUFFIX) && (${PKGNAMESUFFIX:Mlib*}))
NORELRO_PORTS= yes
.endif
.endif
.endif

.if defined(USES)
.if ${USES:Mkmod} || ${USES:Mfortran}
NORELRO_PORTS= yes
.endif
.endif

.if defined(CATEGORIES)
.if ${CATEGORIES:Mx11-drivers} || ${CATEGORIES:Mlinux}
NORELRO_PORTS= yes
.endif
.endif

.if !defined(NORELRO_PORTS)
OPTIONS_DEFAULT+= RELRO
.endif

#########################
### SafeStack support ###
#########################

OPTIONS_DEFINE+= SAFESTACK
SAFESTACK_DESC= Build with SafeStack
SAFESTACK_USES= safestack

.if defined(EXPLICIT_SAFESTACK)
OPTIONS_DEFAULT+= SAFESTACK
.endif

.endif # !__BSD_PORT_HARDENING_MK

+ 2
- 0
Mk/bsd.options.mk View File

@@ -153,6 +153,8 @@
.if !defined(OPTIONSMKINCLUDED)
OPTIONSMKINCLUDED= bsd.options.mk

.include "bsd.hardening.mk"

OPTIONS_NAME?= ${PKGORIGIN:S/\//_/}
OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options


+ 1
- 1
Mk/bsd.port.mk View File

@@ -2450,7 +2450,7 @@ check-categories:
VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \
benchmarks biology cad chinese comms converters databases \
deskutils devel docs dns editors elisp emulators enlightenment finance french ftp \
games geography german gnome gnustep graphics hamradio haskell hebrew hungarian \
games geography german gnome gnustep graphics hamradio hardenedbsd haskell hebrew hungarian \
ipv6 irc japanese java kde ${_KDE_CATEGORIES_SUPPORTED} kld korean lang linux lisp \
mail mate math mbone misc multimedia net net-im net-mgmt net-p2p news \
palm parallel pear perl5 plan9 polish portuguese ports-mgmt \

+ 2
- 0
Mk/bsd.port.options.mk View File

@@ -18,6 +18,8 @@ OPTIONS_Include_MAINTAINER= portmgr@FreeBSD.org
USEOPTIONSMK= yes
INOPTIONSMK= yes

.include "bsd.hardening.mk"

.include "bsd.port.mk"

.undef INOPTIONSMK

+ 1
- 0
Mk/bsd.port.pre.mk View File

@@ -2,6 +2,7 @@

BEFOREPORTMK= yes

.include "bsd.hardening.mk"
.include "bsd.port.mk"

.undef BEFOREPORTMK

+ 2
- 0
archivers/unrar/Makefile View File

@@ -33,6 +33,8 @@ OPENSSL_AES_CPPFLAGS= -DOPENSSL_AES -I${OPENSSLINC}
OPENSSL_AES_LDFLAGS= -L${OPENSSLLIB} -lcrypto
OPENSSL_AES_USES= ssl

NOPIE_PORTS= yes

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DOCSDIR}/

+ 2
- 0
astro/openuniverse/Makefile View File

@@ -22,4 +22,6 @@ CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm -lcompat

NOPIE_PORTS= yes

.include <bsd.port.mk>

+ 3
- 0
audio/beast/Makefile View File

@@ -34,6 +34,9 @@ CXXFLAGS+= -fpermissive
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

NOPIE_PORTS= yes
NORELRO_PORTS= yes

PLIST_SUB= VERSION="${PORTVERSION}"
OPTIONS_SUB= yes


+ 3
- 0
audio/csound6/Makefile View File

@@ -35,6 +35,9 @@ CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \
USE_LDCONFIG= yes
SSP_UNSAFE= yes

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SUB_FILES= pkg-message

CONFLICTS= csound-5.*

+ 2
- 0
audio/forked-daapd/Makefile View File

@@ -32,6 +32,8 @@ INSTALL_TARGET= install-strip
USE_LDCONFIG= ${LOCALBASE}/lib/forked-daapd
CONFIGURE_ARGS+=--localstatedir=/var

NOPIE_PORTS= yes

USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message


+ 3
- 0
audio/icegenerator/Makefile View File

@@ -16,6 +16,9 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
CONFIGURE_ARGS= --exec-prefix=${PREFIX}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= DOCS MYSQL PGSQL

MYSQL_USE= MYSQL=YES

+ 2
- 0
audio/madplay/Makefile View File

@@ -30,6 +30,8 @@ NLS_CONFIGURE_ENABLE= nls
ESOUND_USE= GNOME=esound
ESOUND_CONFIGURE_WITH= esd

NOPIE_PORTS= yes

post-install:
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${STAGEDIR}${PREFIX}/bin


+ 3
- 0
audio/mp3guessenc/Makefile View File

@@ -15,6 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
PLIST_FILES= bin/mp3guessenc
SRC= decode.c mp3guessenc.c bit_utils.c tags.c

NOPIE_PORTS= yes
NORELRO_PORTS= yes

do-build:
.for f in ${SRC}
${CC} ${CFLAGS} ${WRKSRC}/${f} -c -o ${WRKSRC}/${f:C/\.c/.o/}

+ 2
- 0
audio/muse/Makefile View File

@@ -25,6 +25,8 @@ CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_SYS_UIO_H
LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lintl

NOPIE_PORTS= yes

PORTDOCS= AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE
PLIST_FILES= bin/muse man/man1/muse.1.gz
.for lang in es it

+ 3
- 0
audio/oss/Makefile View File

@@ -24,6 +24,9 @@ USE_RC_SUBR= oss
SUB_FILES= pkg-install pkg-deinstall
ONLY_FOR_ARCHS= amd64 i386

NOPIE_PORTS= yes
NORELRO_PORTS= yes

KMODDIR= ${PREFIX}/lib/oss/modules

OSS_CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \

+ 2
- 0
audio/raop_play/Makefile View File

@@ -27,6 +27,8 @@ LDFLAGS+= `fltk-config --ldflags`
USES= gmake
USE_GNOME= glib20

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} 's/-lssl/-lcrypto/' \
${WRKSRC}/configure ${WRKSRC}/raop_play/Makefile.in

+ 2
- 0
audio/umodplayer/Makefile View File

@@ -19,6 +19,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libaiff.a:audio/libaiff
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}

NOPIE_PORTS= yes

PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz


+ 2
- 0
audio/voipong/Makefile View File

@@ -14,6 +14,8 @@ PORTDOCS= ALGORITHMS AUTHORS ChangeLog COPYING INSTALL KNOWN_BUGS \
LICENSE NEWS README THANKS TODO
MAKEFILE= Makefile.bsd

NOPIE_PORTS= yes

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:

+ 4
- 1
audio/xmms-gbsplay/Makefile View File

@@ -24,10 +24,13 @@ USE_CSTD= gnu89

OPTIONS_DEFINE= NLS

NOPIE_PORTS= yes
NORELRO_PORTS= yes

NLS_CONFIGURE_OFF= --disable-i18n
NLS_USES= gettext-runtime

CONFIGURE_ARGS= --disable-nas --prefix=${PREFIX}
CONFIGURE_ARGS= --disable-nas --prefix=${PREFIX}

PLIST_FILES= lib/xmms/Input/gbsxmms.so


+ 3
- 0
audio/xmms-nas/Makefile View File

@@ -19,6 +19,9 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static

NOPIE_PORTS= yes
NORELRO_PORTS= yes

PLIST_FILES= lib/xmms/Output/libnas.so

post-install:

+ 2
- 0
benchmarks/gtkperf/Makefile View File

@@ -16,6 +16,8 @@ USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gtk20 gnomeprefix

NOPIE_PORTS= yes

OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes


+ 2
- 0
benchmarks/lmbench/Makefile View File

@@ -20,6 +20,8 @@ USE_PERL5= run
SHEBANG_FILES= scripts/getresults
PLIST_SUB= LMBENCH_OS=${ARCH}-${OPSYS:tl}${OSREL}

NOPIE_PORTS= yes

test: build
@(cd ${WRKSRC}; make results)


+ 2
- 0
biology/diamond/Makefile View File

@@ -17,6 +17,8 @@ USES= cmake:outsource compiler:c++11-lang

CFLAGS+= -DNDEBUG

NOPIE_PORTS= yes

USE_GITHUB= yes
GH_ACCOUNT= bbuchfink


+ 3
- 0
biology/mafft/Makefile View File

@@ -21,6 +21,9 @@ INSTALL_WRKSRC= ${WRKSRC}/core

USES= gmake shebangfix tar:tgz

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SHEBANG_FILES= core/*.tmpl

MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \

+ 2
- 0
biology/mopac/Makefile View File

@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes

NOPIE_PORTS= yes

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib


+ 2
- 0
biology/ncbi-blast+/Makefile View File

@@ -27,6 +27,8 @@ SHEBANG_FILES= src/app/blast/legacy_blast.pl \
src/app/blast/update_blastdb.pl \
src/app/winmasker/windowmasker_2.2.22_adapter.py

NOPIE_PORTS= yes

# Requires openmp
USE_GCC= yes
USE_LDCONFIG= yes

+ 2
- 0
biology/primer3/Makefile View File

@@ -17,6 +17,8 @@ MAKE_ARGS= CC="${CC}" CPP="${CXX}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/primer3

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} \
-e 's#^CFLAGS.*#CFLAGS += \$$\(CC_OPTS\)#;' \

+ 2
- 0
biology/psi88/Makefile View File

@@ -21,6 +21,8 @@ PORTEXAMPLES= *

OPTIONS_DEFINE= DOCS EXAMPLES

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} -e 's/f77/$${FC}/' -e 's/LFLAGS/LDFLAGS/' \
${WRKSRC}/src/makefile

+ 3
- 0
biology/tinker/Makefile View File

@@ -32,6 +32,9 @@ EXTRACT_AFTER_ARGS=--exclude fftw --exclude windows --exclude macosx

SUB_FILES= pkg-message

NOPIE_PORTS= yes
NORELRO_PORTS= yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MOPTIMIZED_FFLAGS}

+ 2
- 0
cad/alliance/Makefile View File

@@ -23,6 +23,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message

USES= bison gmake libtool motif

NOPIE_PORTS= yes

USE_GCC= any
HAS_CONFIGURE= yes
INSTALL_TARGET= install-strip

+ 3
- 0
cad/calculix/Makefile View File

@@ -37,6 +37,9 @@ USE_GCC= yes
USE_XORG= ice sm x11 xext xi xmu xt
USE_GL= gl glu glut

NOPIE_PORTS= yes
NORELRO_PORTS= yes

BROWSER?= firefox
PSVIEWER?= gv


+ 2
- 0
cad/pdnmesh/Makefile View File

@@ -23,6 +23,8 @@ USE_GNOME= gtk20
GNU_CONFIGURE= yes
LDFLAGS+= -lm

NOPIE_PORTS= yes

DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true

ATLAS_USES= blaslapack:atlas

+ 2
- 0
comms/ebook2cw/Makefile View File

@@ -16,6 +16,8 @@ LIB_DEPENDS= libmp3lame.so:audio/lame \

OPTIONS_DEFINE= DOCS EXAMPLES

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \
${WRKSRC}/Makefile

+ 2
- 0
comms/ebook2cwgui/Makefile View File

@@ -16,6 +16,8 @@ RUN_DEPENDS= ebook2cw:comms/ebook2cw
USE_WX= 2.8
WX_UNICODE= yes

NOPIE_PORTS= yes

PORTDOCS= *

post-patch:

+ 2
- 0
comms/fl_moxgen/Makefile View File

@@ -15,6 +15,8 @@ LICENSE= GPLv3

LIB_DEPENDS= libfltk.so:x11-toolkits/fltk

NOPIE_PORTS= yes

DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \
"Network;HamRadio;" false


+ 2
- 0
comms/mlan3/Makefile View File

@@ -17,6 +17,8 @@ NO_WRKSUBDIR= yes
USES= dos2unix uidfix zip
DOS2UNIX_GLOB= *.c *.h

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} -e '/int main/s/short argc/int argc/' \
${WRKSRC}/apps/gethumd/gethumd.c ${WRKSRC}/apps/shaapp/shaapp.c

+ 2
- 0
comms/nokryptia/Makefile View File

@@ -19,4 +19,6 @@ LIBS+= -L${LOCALBASE}/lib

PLIST_FILES= bin/nokryptia man/man1/${PORTNAME}.1.gz

NOPIE_PORTS= yes

.include <bsd.port.mk>

+ 2
- 0
comms/sdr-wspr/Makefile View File

@@ -22,4 +22,6 @@ PLIST_FILES= bin/sdr-wspr share/applications/sdr-wspr.desktop \
share/icons/sdr-wspr.svg
CMAKE_ARGS= -DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE}/lib/gcc${_GCC_VER}"

NOPIE_PORTS= yes

.include <bsd.port.mk>

+ 3
- 0
comms/uartlirc/Makefile View File

@@ -26,6 +26,9 @@ PLIST_FILES+= ${KMODDIR}/${PORTNAME}.ko

CFLAGS+= ${DEBUG_FLAGS}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

.include <bsd.port.options.mk>

.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"

+ 2
- 0
databases/dbh/Makefile View File

@@ -24,6 +24,8 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GTKDOC
GTKDOC_DESC= Enable GTK html documentation

NOPIE_PORTS= yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTKDOC}

+ 2
- 0
databases/firebird25-server/Makefile View File

@@ -22,6 +22,8 @@ LICENSE_FILE_IPL= ${WRKSRC}/builds/install/misc/IPLicense.txt
LICENSE_PERMS_IDPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_IPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

NOPIE_PORTS= yes

LIB_DEPENDS= libicuuc.so:devel/icu

USES= cpe gmake pkgconfig tar:bzip2

+ 3
- 0
databases/mongodb32-tools/Makefile View File

@@ -17,6 +17,9 @@ USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-tools

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= SSL SASL
OPTIONS_DEFAULT= SSL


+ 4
- 0
databases/mysql57-server/Makefile View File

@@ -20,6 +20,9 @@ SLAVEDIRS= databases/mysql57-client
USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \
cpe libedit localbase perl5 shebangfix ssl

NOPIE_PORTS= yes
NORELRO_PORTS= yes

USE_PERL5= run

MY_DBDIR= /var/db/mysql
@@ -158,6 +161,7 @@ post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample

post-stage:
${MKDIR} ${STAGEDIR}${ETCDIR}/keyring
${MKDIR} ${STAGEDIR}${MY_SECDIR}
${MKDIR} ${STAGEDIR}${MY_TMPDIR}

+ 3
- 0
databases/phpmyadmin/Makefile View File

@@ -15,6 +15,9 @@ LICENSE= GPLv2
USES= cpe php:web tar:xz
CPE_PRODUCT= ${PORTNAME:tl}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

NO_ARCH= yes
NO_BUILD= yes
.if !defined(WITHOUT_PHP_DEPENDS)

+ 3
- 0
databases/postgis22/Makefile View File

@@ -29,6 +29,9 @@ USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_PERL5= build

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= LOADERGUI RASTER TOPOLOGY SFCGAL ADDRSTD
OPTIONS_DEFAULT= TOPOLOGY ADDRSTD
NO_OPTIONS_SORT= yes

+ 2
- 0
databases/riak2/Makefile View File

@@ -28,6 +28,8 @@ SHEBANG_FILES= deps/eper/priv/bin/* \
USE_RC_SUBR= riak
USE_GCC= yes

NOPIE_PORTS= yes

BROKEN_i386= Does not build
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build: Please implement AtomicPointer for this platform

+ 2
- 0
databases/rocksdb/Makefile View File

@@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgflags.so:devel/gflags \
libsnappy.so:archivers/snappy

NOPIE_PORTS= yes

BROKEN_DragonFly= does not build on DragonFly BSD using GCC with -Werror
BROKEN_aarch64= does not build: the clang compiler does not support -march=native
BROKEN_armv6= does not build: the clang compiler does not support -march=native

+ 2
- 0
databases/tarantool/Makefile View File

@@ -48,6 +48,8 @@ OPTIONS_DEFINE= DEBUG
NOT_FOR_ARCHS= sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this architecture

NOPIE_PORTS= yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDEBUG}

+ 2
- 0
deskutils/bitcollider/Makefile View File

@@ -17,6 +17,8 @@ USE_LDCONFIG= yes

CFLAGS+= -lm

NOPIE_PORTS= yes

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/bitcollider/plugins/*.bcp


+ 2
- 0
deskutils/growl-for-linux/Makefile View File

@@ -20,6 +20,8 @@ CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -
GH_ACCOUNT= mattn
GNU_CONFIGURE= yes

NOPIE_PORTS= yes

INSTALL_TARGET= install-strip

LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin

+ 3
- 0
deskutils/pinot/Makefile View File

@@ -55,6 +55,9 @@ USE_GNOME= atkmm cairo cairomm glibmm gtk20 gtkmm24 libsigc++20 libxml2 pangomm
USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters
SHEBANG_FILES= scripts/bash/*.sh

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= DEBUG CHMLIB DOCS
OPTIONS_SUB= yes


+ 3
- 0
devel/adabooch/Makefile View File

@@ -20,6 +20,9 @@ USES= ada gmake tar:bzip2
HAS_CONFIGURE= yes
ALL_TARGET= libs

NOPIE_PORTS= yes
NORELRO_PORTS= yes

# Demos are available but require that the libraries are already installed
# In other words, adabooch demos requires a separate port to do correctly
OPTIONS_DEFINE= DOCS

+ 2
- 0
devel/adacurses/Makefile View File

@@ -23,6 +23,8 @@ CONFIGURE_ARGS= --with-ada-include=${PREFIX}/include/adacurses \
PORTDOCS= ada Ada95.html
PLIST_SUB= atic=adacurses/terminal_interface-curses

NOPIE_PORTS= yes

OPTIONS_DEFINE= DOCS

MAKE_JOBS_UNSAFE= yes

+ 3
- 0
devel/arm-elf-binutils/Makefile View File

@@ -16,6 +16,9 @@ CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --disable-werror \
--disable-nls CFLAGS="-I/usr/local/include"
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info

NOPIE_PORTS= yes
NORELRO_PORTS= yes

post-install:
.for F in addr2line c++filt elfedit gprof objcopy objdump readelf size strings
${LN} -f ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}$F \

+ 3
- 0
devel/arm-none-eabi-gcc492/Makefile View File

@@ -28,6 +28,9 @@ PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \
GCC_TARGET= arm-none-eabi
BU_PREFIX?= ${GCC_TARGET}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
# libstdcxx won't build, but we don't need it or multiple float-abi libs.

+ 2
- 0
devel/automoc4/Makefile View File

@@ -14,4 +14,6 @@ COMMENT= Automatic moc for Qt 4 packages
USE_QT4= corelib moc qmake_build rcc_build uic_build
USES= cmake tar:bzip2

NORELRO_PORTS= yes

.include <bsd.port.mk>

+ 3
- 0
devel/bullet/Makefile View File

@@ -20,9 +20,12 @@ USE_GL= gl glu glut
USE_LDCONFIG= yes
USE_XORG= x11

USES= cmake tar:tgz
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_BULLET2_DEMOS:BOOL=OFF

NOPIE_PORTS= yes

PORTDOCS= *

OPTIONS_DEFINE= DOCS

+ 3
- 0
devel/ccons/Makefile View File

@@ -25,6 +25,9 @@ USES= cmake libedit
CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33
CXXFLAGS+= -fno-rtti

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SUB_FILES= ccons.sh
PLIST_FILES= bin/ccons man/man1/ccons.1.gz \
bin/ccons-bin

+ 3
- 0
devel/clanlib22/Makefile View File

@@ -44,6 +44,9 @@ CONFIGURE_ARGS= --disable-docs \
--enable-clanVorbis \
--enable-getaddr

NOPIE_PORTS= yes
NORELRO_PORTS= yes

INSTALL_TARGET= install-strip
PLIST_SUB+= VER=${PORTVERSION:R} \
SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E}

+ 2
- 0
devel/cmph/Makefile View File

@@ -14,4 +14,6 @@ GNU_CONFIGURE= yes
USES= libtool pathfix
USE_LDCONFIG= yes

NOPIE_PORTS= yes

.include <bsd.port.mk>

+ 3
- 0
devel/cx_Freeze/Makefile View File

@@ -13,4 +13,7 @@ USE_GCC= yes
USES= python
USE_PYTHON= distutils

NOPIE_PORTS= yes
NORELRO_PORTS= yes

.include <bsd.port.mk>

+ 2
- 0
devel/darts/Makefile View File

@@ -21,6 +21,8 @@ OPTIONS_DEFINE= DOCS EXAMPLES
PORTEXAMPLES= darts.cpp mkdarts.cpp
PORTDOCS= AUTHORS ChangeLog README doc

NOPIE_PORTS= yes

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}

+ 3
- 0
devel/dmucs/Makefile View File

@@ -15,6 +15,9 @@ USES= tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/dmucs bin/gethost bin/loadavg bin/monitor bin/remhost

NOPIE_PORTS= yes
NORELRO_PORTS= yes

BROKEN_aarch64= Fails to compile: error: passing char * to parameter of incompatible type __builtin_va_list

.include <bsd.port.mk>

+ 2
- 0
devel/dwarfdump/Makefile View File

@@ -18,6 +18,8 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include

NOPIE_PORTS= yes

PLIST_FILES= bin/dwarfdump man/man1/dwarfdump.1.gz

.include <bsd.port.pre.mk>

+ 2
- 0
devel/elfkickers/Makefile View File

@@ -15,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING

USES= gmake

NOPIE_PORTS= yes

ELFBINS= ebfc elfls elftoc infect objres rebind sstrip
PORTDOCS= COPYING Changelog README


+ 3
- 0
devel/flatzebra/Makefile View File

@@ -19,6 +19,9 @@ USE_SDL= sdl mixer image
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip

NOPIE_PORTS= yes
NORELRO_PORTS= yes

PORTDOCS= AUTHORS NEWS README

OPTIONS_DEFINE= DOCS

+ 3
- 0
devel/gcc-arm-embedded/Makefile View File

@@ -15,6 +15,9 @@ LICENSE_COMB= multi

BROKEN_powerpc64= Does not build

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= PURE PYGDB EXAMPLES HTML PDF DOCS
OPTIONS_DEFAULT=PYGDB
PURE_DESC= Use all libraries from bundle, do not depend on anything

+ 2
- 0
devel/git/Makefile View File

@@ -24,6 +24,8 @@ GROUPS= git_daemon

SUB_FILES= pkg-message

EXPLICIT_SAFESTACK= yes

GNU_CONFIGURE= yes
USES= gmake shebangfix ssl tar:xz
CPPFLAGS+= -isystem${LOCALBASE}/include

+ 3
- 0
devel/hadoop/Makefile View File

@@ -31,6 +31,9 @@ USE_LDCONFIG= yes
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= DOCS

HADOOP_LOGDIR= /var/log/${PORTNAME}

+ 3
- 0
devel/hadoop2/Makefile View File

@@ -43,6 +43,9 @@ USE_LDCONFIG= yes
SHEBANG_FILES= hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
MAKE_ENV+= JAVA_HOME=${JAVA_HOME} HADOOP_PROTOC_PATH=${LOCALBASE}/protobuf25/bin/protoc

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= EXAMPLES

TOMCAT_VERSION= 6.0.44

+ 3
- 0
devel/libmatheval/Makefile View File

@@ -21,6 +21,9 @@ USE_LDCONFIG= yes
USES= libtool localbase makeinfo pathfix
INSTALL_TARGET= install-strip

NOPIE_PORTS= yes
NORELRO_PORTS= yes

INFO= libmatheval

post-patch:

+ 2
- 0
devel/mph/Makefile View File

@@ -9,6 +9,8 @@ MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= chuck@pkix.net
COMMENT= Minimal perfect hashing code generator

NOPIE_PORTS= yes

BIN_FILES= emitc mph mphm
PLIST_FILES= bin/emitc bin/mph bin/mphm


+ 3
- 0
devel/powerpc64-gcc/Makefile View File

@@ -13,6 +13,9 @@ COMMENT= Cross GNU Compiler Collection for ${PKGNAMEPREFIX:C/-//g}
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi

NOPIE_PORTS= yes
NORELRO_PORTS= yes

CONFIGURE_ENV= gcc_gxx_include_dir="/usr/include/c++/v1"

USES= gmake iconv libtool tar:bzip2 makeinfo compiler

+ 3
- 0
devel/pwlib/Makefile View File

@@ -37,6 +37,9 @@ MAKE_ENV= STDCCFLAGS+="-I${LOCALBASE}"
CPPFLAGS+= -O1 -I${WRKSRC}/include -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

NOPIE_PORTS= yes
NORELRO_PORTS= yes

CONFIGURE_ENV+= ATOMICITY_H="<ext/atomicity.h>"

SDL_USE= SDL=sdl

+ 2
- 0
devel/rhtvision/Makefile View File

@@ -25,6 +25,8 @@ CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
--no-libs-here
USE_LDCONFIG= yes

NOPIE_PORTS= yes

CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib


+ 2
- 0
devel/rpc2/Makefile View File

@@ -22,4 +22,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip

NOPIE_PORTS= yes

.include <bsd.port.mk>

+ 2
- 0
devel/sdl2pp/Makefile View File

@@ -21,6 +21,8 @@ CMAKE_ARGS= -DSDL2PP_ENABLE_LIVE_TESTS=OFF \
USE_SDL= sdl2 image2 mixer2 ttf2
TEST_TARGET= test

NOPIE_PORTS= yes

PORTDOCS= *

OPTIONS_DEFINE= DOCS DOXYGEN

+ 3
- 0
devel/tesla/Makefile View File

@@ -10,6 +10,9 @@ COMMENT= Temporally Enhanced Security Logic Assertions

USES= cmake:outsource execinfo ninja

NOPIE_PORTS= yes
NORELRO_PORTS= yes

BUILD_DEPENDS= clang33:lang/clang33
RUN_DEPENDS= clang33:lang/clang33
LIB_DEPENDS= libprotobuf.so:devel/protobuf

+ 2
- 0
devel/ucpp/Makefile View File

@@ -20,6 +20,8 @@ USE_GITHUB= yes
PLIST_FILES= bin/ucpp man/man1/ucpp.1.gz
USES= gmake

NOPIE_PORTS= yes

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/

+ 2
- 0
devel/upp/Makefile View File

@@ -22,6 +22,8 @@ USES= execinfo gmake
USE_XORG= xft
USE_GNOME= gtk20

NOPIE_PORTS= yes

WRKSRC= ${WRKDIR}/${DISTNAME}
BUILD_WRKSRC= ${WRKSRC}/uppsrc


+ 3
- 0
devel/valgrind-devel/Makefile View File

@@ -14,6 +14,9 @@ PKGNAMESUFFIX= -devel
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Memory debugging and profiling tool

NOPIE_PORTS= yes
NORELRO_PORTS= yes

BB_COMMIT= ce1acb28953f
BB_ACCOUNT= stass
BB_PROJECT= valgrind-freebsd

+ 3
- 0
devel/valgrind/Makefile View File

@@ -19,6 +19,9 @@ BB_PROJECT= valgrind-freebsd

LICENSE= GPLv2

NOPIE_PORTS= yes
NORELRO_PORTS= yes

CONFLICTS= valgrind-devel-[0-9]*

ONLY_FOR_ARCHS= i386 amd64

+ 12
- 0
dns/c-ares/files/patch-configure View File

@@ -0,0 +1,12 @@
--- configure.bak 2016-05-10 15:50:50.046840000 -0400
+++ configure 2016-05-10 15:51:05.196516000 -0400
@@ -3981,9 +3981,6 @@
xc_bad_var_cflags=no
for xc_word in $CFLAGS; do
case "$xc_word" in
- -D*)
- xc_bad_var_cflags=yes
- ;;
-U*)
xc_bad_var_cflags=yes
;;

+ 2
- 0
dns/powerdns-recursor/Makefile View File

@@ -23,6 +23,8 @@ USES= compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2
GNU_CONFIGURE= YES
CXXFLAGS+= -D_GLIBCXX_USE_C99

NOPIE_PORTS= yes

CPE_VENDOR= powerdns

OPTIONS_DEFINE= SETUID

+ 3
- 0
dns/yadifa/Makefile View File

@@ -19,6 +19,9 @@ USES= libtool compiler:c11
USE_OPENSSL= yes
CONFIGURE_ARGS= --localstatedir=/var

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= CTRL DOCS EXAMPLES TCL RRL MESSAGES NSID
OPTIONS_DEFAULT= RRL NSID
OPTIONS_SUB= yes

+ 3
- 0
editors/emacs-devel/Makefile View File

@@ -34,6 +34,9 @@ SUB_LIST+= EMACS_VER=${EMACS_VER}
CONFIGURE_ARGS= --localstatedir=/var \
--with-gameuser=games:games

NOPIE_PORTS= yes
NORELRO_PORTS= yes

PLIST_SUB= EMACS_VER=${EMACS_VER} GNU_HOST=${CONFIGURE_TARGET}

MAKE_ENV= LC_ALL=C

+ 3
- 0
editors/emacs/Makefile View File

@@ -26,6 +26,9 @@ LDFLAGS+= ${ncurses_ARGS:Mport:C/.+/-ltinfo/}
INFO_PATH= ${DATADIR_REL}/info
CPE_VENDOR= gnu

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SUB_FILES= sources.el
SUB_LIST+= ARCHLIBDIR=${PREFIX}/libexec/emacs/${EMACS_VER}/${CONFIGURE_TARGET}
SUB_LIST+= EMACS_VER=${EMACS_VER} # sources.el

+ 2
- 0
editors/mined/Makefile View File

@@ -26,6 +26,8 @@ PRFX2FIX= src/makefile.bsd usrshare/conf_user/xinitrc.mined \
src/minedaux.c man/mined.1 src/mkinclud.mak \
src/makefile.gcc

NOPIE_PORTS= yes

pre-configure:
.for FILE in ${PRFX2FIX}
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE}

+ 2
- 0
editors/nvi-devel/Makefile View File

@@ -29,6 +29,8 @@ WIDECHAR_CONFIGURE_ON= --enable-widechar
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include -I${NCURSESINC}
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib

NOPIE_PORTS= yes

post-patch:
@${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
${WRKSRC}/../dist/Makefile.in

+ 3
- 0
editors/texmacs/Makefile View File

@@ -27,6 +27,9 @@ CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:tu}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SHEBANG_FILES= plugins/asymptote/bin/* plugins/dratex/bin/* \
plugins/eukleides/bin/* plugins/feynmf/bin/* \
plugins/mupad/bin/* plugins/texgraph/bin/* \

+ 2
- 0
editors/vim/Makefile View File

@@ -14,6 +14,8 @@ LICENSE_NAME= VIM License
LICENSE_FILE= ${WRKSRC}/runtime/doc/uganda.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

EXPLICIT_SAFESTACK= yes

OPTIONS_DEFINE= CSCOPE DEFAULT_VIMRC EXUBERANT_CTAGS NLS XTERM_SAVE
OPTIONS_SINGLE= UI
OPTIONS_SINGLE_UI= ATHENA CONSOLE GNOME GTK2 GTK3 MOTIF X11

+ 3
- 0
emulators/fs-uae/Makefile View File

@@ -23,6 +23,9 @@ USE_GNOME= glib20
INSTALLS_ICONS= yes
MAKE_ARGS+= prefix=${PREFIX}

NOPIE_PORTS= yes
NORELRO_PORTS= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>

+ 2
- 0
emulators/lisaem/Makefile View File

@@ -17,6 +17,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
USE_WX= 2.8

NOPIE_PORTS= yes

DESKTOP_ENTRIES="LisaEm" "" "lisaem" "lisaem" "" ""

post-patch:

+ 3
- 0
emulators/mame/Makefile View File

@@ -45,6 +45,9 @@ GENIE= ${WRKSRC}/3rdparty/genie
PORTDOCS= *
PORTEXAMPLES= ${MSUBTARGET}.ini

NOPIE_PORTS= yes
NORELRO_PORTS= yes

SUB_FILES= pkg-message target.ini
SUB_LIST= MTARGET=${MTARGET} MSUBTARGET=${MSUBTARGET}


+ 3
- 0
emulators/mednafen/Makefile View File

@@ -27,6 +27,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message

NOPIE_PORTS= yes
NORELRO_PORTS= yes

CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \
--with-sdl-prefix=${LOCALBASE}


+ 2
- 0
emulators/mess/Makefile View File

@@ -9,4 +9,6 @@ MASTERDIR= ${.CURDIR}/../mame
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist

NOPIE_PORTS= yes

.include "${MASTERDIR}/Makefile"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save