diff --git a/biology/adun/Makefile b/biology/adun/Makefile index 0f464e1c91ed..8bcd4590cf27 100644 --- a/biology/adun/Makefile +++ b/biology/adun/Makefile @@ -40,8 +40,10 @@ PLIST_SUB+= LIBVERSION4=${DEFAULT_LIBVERSION4} PLIST_SUB+= MAJORLIBVERSION4=${DEFAULT_LIBVERSION4:C/([0-9]).*/\1/1} PLIST_SUB+= LIBVERSION5=${DEFAULT_LIBVERSION5} PLIST_SUB+= MAJORLIBVERSION5=${DEFAULT_LIBVERSION5:C/([0-9]).*/\1/1} -ADDITIONAL_CFLAGS= -D__FREEBSD__ -ADDITIONAL_OBJCFLAGS= -D__FREEBSD__ +ADDITIONAL_CPPFLAGS= -D__FREEBSD__ +ADDITIONAL_INCLUDE_DIRS= -I${WRKSRC}/Kernel -I${WRKSRC} +ADDITIONAL_LIB_DIRS= -L${WRKSRC}/Kernel/AdunKernel/AdunKernel.framework -L${LOCALBASE}/MolTalk/MolTalk.framework +ADDITIONAL_LDFLAGS= -rpath-link=${WRKSRC}/Kernel/AdunKernel/AdunKernel.framework:${LOCALBASE}/MolTalk/MolTalk.framework post-patch: ${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \