diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/swhplugins/Makefile | |
parent | 29879aded766da253313579a3503ff5e15026355 (diff) | |
download | ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip |
Notes
Diffstat (limited to 'audio/swhplugins/Makefile')
-rw-r--r-- | audio/swhplugins/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/audio/swhplugins/Makefile b/audio/swhplugins/Makefile index ffb1035a7717..7ca8cc11f4d4 100644 --- a/audio/swhplugins/Makefile +++ b/audio/swhplugins/Makefile @@ -27,26 +27,17 @@ USE_LDCONFIG= yes CFLAGS+= -fPIC -DPIC OPTIONS_DEFINE= NLS 3DNOW SSE +OPTIONS_SUB= yes 3DNOW_DESC= use 3DNow! instructions SSE_DESC= use SSE instructions -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -LDFLAGS+= -lintl -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:M3DNOW} -CONFIGURE_ARGS+= --enable-3dnow -.endif - -.if ${PORT_OPTIONS:MSSE} -CONFIGURE_ARGS+= --enable-sse -.endif +NLS_USES= gettext +NLS_LDFLAGS= -lintl +NLS_CONFIGURE_ENABLE= nls + +3DNOW_CONFIGURE_ENABLE= 3dnow + +SSE_CONFIGURE_ENABLE= sse post-patch: @${REINPLACE_CMD} -e \ |