diff options
-rw-r--r-- | audio/ocp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index e1971b7255dd..5d8243e95498 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -65,7 +65,7 @@ CONFIGURE_ARGS+= --with-x11=yes .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --with-debug .endif -.if defined(WITH_ADPLUG) +.if defined(WITH_ADPLUG) && ${OSVERSION} > 500000 LIB_DEPENDS+= adplug-2.0.1.0:${PORTSDIR}/audio/libadplug CONFIGURE_ARGS+= --without-x11 --with-adplug PLIST_SUB+= ADPLUG="" |